Skip to content

Commit 03a8082

Browse files
[linalg.scaled.scaledaccessor] Use kebab-underscore_ style for exposition-only members
The _`kebab-underscore_`_ style for exposition-only members seems to be consistently used among [linalg]. Although such style looks controversial, perhaps it's acceptable to achieve local consistency.
1 parent 3ddbebd commit 03a8082

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/numerics.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12620,12 +12620,12 @@
1262012620
constexpr reference access(data_handle_type p, size_t i) const;
1262112621
constexpr offset_policy::data_handle_type offset(data_handle_type p, size_t i) const;
1262212622

12623-
constexpr const ScalingFactor& @\libmember{scaling_factor}{scaled_accessor}@() const noexcept { return @\exposid{scaling-factor}@; }
12624-
constexpr const NestedAccessor& @\libmember{nested_accessor}{scaled_accessor}@() const noexcept { return @\exposid{nested-accessor}@; }
12623+
constexpr const ScalingFactor& @\libmember{scaling_factor}{scaled_accessor}@() const noexcept { return @\exposid{scaling-factor_}@; }
12624+
constexpr const NestedAccessor& @\libmember{nested_accessor}{scaled_accessor}@() const noexcept { return @\exposid{nested-accessor_}@; }
1262512625

1262612626
private:
12627-
ScalingFactor @\exposid{scaling-factor}@{}; // \expos
12628-
NestedAccessor @\exposid{nested-accessor}@{}; // \expos
12627+
ScalingFactor @\exposid{scaling-factor_}@{}; // \expos
12628+
NestedAccessor @\exposid{nested-accessor_}@{}; // \expos
1262912629
};
1263012630
}
1263112631
\end{codeblock}
@@ -12661,10 +12661,10 @@
1266112661
\effects
1266212662
\begin{itemize}
1266312663
\item
12664-
Direct-non-list-initializes \exposid{scaling-factor}
12664+
Direct-non-list-initializes \exposid{scaling-factor_}
1266512665
with \tcode{other.scaling_factor()}, and
1266612666
\item
12667-
direct-non-list-initializes \exposid{nested-accessor}
12667+
direct-non-list-initializes \exposid{nested-accessor_}
1266812668
with \tcode{other.nested_accessor()}.
1266912669
\end{itemize}
1267012670
\end{itemdescr}
@@ -12679,9 +12679,9 @@
1267912679
\effects
1268012680
\begin{itemize}
1268112681
\item
12682-
Direct-non-list-initializes \exposid{scaling-factor} with \tcode{s}, and
12682+
Direct-non-list-initializes \exposid{scaling-factor_} with \tcode{s}, and
1268312683
\item
12684-
direct-non-list-initializes \exposid{nested-accessor} with \tcode{a}.
12684+
direct-non-list-initializes \exposid{nested-accessor_} with \tcode{a}.
1268512685
\end{itemize}
1268612686
\end{itemdescr}
1268712687

@@ -12694,7 +12694,7 @@
1269412694
\pnum
1269512695
\returns
1269612696
\begin{codeblock}
12697-
scaling_factor() * NestedAccessor::element_type(@\exposid{nested-accessor}@.access(p, i))
12697+
scaling_factor() * NestedAccessor::element_type(@\exposid{nested-accessor_}@.access(p, i))
1269812698
\end{codeblock}
1269912699
\end{itemdescr}
1270012700

@@ -12706,7 +12706,7 @@
1270612706
\begin{itemdescr}
1270712707
\pnum
1270812708
\returns
12709-
\tcode{\exposid{nested-accessor}.offset(p, i)}
12709+
\tcode{\exposid{nested-accessor_}.offset(p, i)}
1271012710
\end{itemdescr}
1271112711

1271212712
\rSec3[linalg.scaled.scaled]{Function template \tcode{scaled}}

0 commit comments

Comments
 (0)