Skip to content

Commit 7698c3d

Browse files
committed
[range.iota.view] Rename IOTA_DIFF_T to the preferred IOTA-DIFF-T.
1 parent 68866e6 commit 7698c3d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/ranges.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,19 +1805,19 @@
18051805
\end{codeblock}
18061806

18071807
\pnum
1808-
Let \tcode{\placeholdernc{IOTA_DIFF_T}(W)} be defined as follows:
1808+
Let \tcode{\placeholdernc{IOTA-DIFF-T}(W)} be defined as follows:
18091809
\begin{itemize}
18101810
\item
18111811
If \tcode{W} is not an integral type, or
18121812
if it is an integral type and \tcode{sizeof(iter_difference_t<W>)}
18131813
is greater than \tcode{sizeof(W)},
1814-
then \tcode{\placeholdernc{IOTA_DIFF_T}(W)} denotes \tcode{iter_difference_t<W>}.
1814+
then \tcode{\placeholdernc{IOTA-DIFF-T}(W)} denotes \tcode{iter_difference_t<W>}.
18151815
\item
1816-
Otherwise, \tcode{\placeholdernc{IOTA_DIFF_T}(W)}
1816+
Otherwise, \tcode{\placeholdernc{IOTA-DIFF-T}(W)}
18171817
is a signed integer type of width greater than the width of \tcode{W}
18181818
if such a type exists.
18191819
\item
1820-
Otherwise, \tcode{\placeholdernc{IOTA_DIFF_T}(W)}
1820+
Otherwise, \tcode{\placeholdernc{IOTA-DIFF-T}(W)}
18211821
is an unspecified signed-integer-like type\iref{iterator.concept.winc}
18221822
of width not less than the width of \tcode{W}.
18231823
\begin{note}
@@ -1865,17 +1865,17 @@
18651865
template<class I>
18661866
concept @\placeholder{Advanceable}@ =
18671867
@\placeholdernc{Decrementable}@<I> && StrictTotallyOrdered<I> &&
1868-
requires(I i, const I j, const @\placeholdernc{IOTA_DIFF_T}@(I) n) {
1868+
requires(I i, const I j, const @\placeholdernc{IOTA-DIFF-T}@(I) n) {
18691869
{ i += n } -> Same<I&>;
18701870
{ i -= n } -> Same<I&>;
18711871
I(j + n);
18721872
I(n + j);
18731873
I(j - n);
1874-
{ j - j } -> ConvertibleTo<@\placeholdernc{IOTA_DIFF_T}@(I)>;
1874+
{ j - j } -> ConvertibleTo<@\placeholdernc{IOTA-DIFF-T}@(I)>;
18751875
};
18761876
\end{itemdecl}
18771877

1878-
Let \tcode{D} be \tcode{\placeholdernc{IOTA_DIFF_T}(I)}.
1878+
Let \tcode{D} be \tcode{\placeholdernc{IOTA-DIFF-T}(I)}.
18791879
Let \tcode{a} and \tcode{b} be objects of type \tcode{I} such that
18801880
\tcode{b} is reachable from \tcode{a}
18811881
after \tcode{n} applications of \tcode{++a},
@@ -1891,7 +1891,7 @@
18911891
\tcode{I(a + D(x + y))} is equal to \tcode{I(I(a + x) + y)}.
18921892
\item \tcode{I(a + D(0))} is equal to \tcode{a}.
18931893
\item If \tcode{I(a + D(n - 1))} is well-defined, then
1894-
\tcode{I(a + n)} is equal to \tcode{[](I c) { return ++c; }(I(a + D(n - 1)))}.
1894+
\tcode{I(a + n)} is equal to \tcode{[](I c) \{ return ++c; \}(I(a + D(n - 1)))}.
18951895
\item \tcode{(b += -n)} is equal to \tcode{a}.
18961896
\item \tcode{(b -= n)} is equal to \tcode{a}.
18971897
\item \tcode{addressof(b -= n)} is equal to \tcode{addressof(b)}.
@@ -2008,7 +2008,7 @@
20082008
public:
20092009
using iterator_category = @\seebelow@;
20102010
using value_type = W;
2011-
using difference_type = @\placeholdernc{IOTA_DIFF_T}@(W);
2011+
using difference_type = @\placeholdernc{IOTA-DIFF-T}@(W);
20122012

20132013
iterator() = default;
20142014
constexpr explicit iterator(W value);

0 commit comments

Comments
 (0)