Skip to content

Commit 972475e

Browse files
committed
[iterators] Add colon after 'model ... only if' when complete sentences follow
1 parent 3589926 commit 972475e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/iterators.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@
13381338
\pnum
13391339
Let \tcode{E} be an expression such that \tcode{decltype((E))} is \tcode{T},
13401340
and let \tcode{o} be a dereferenceable object of type \tcode{Out}.
1341-
\tcode{Out} and \tcode{T} model \tcode{\libconcept{indirectly_writable}<Out, T>} only if
1341+
\tcode{Out} and \tcode{T} model \tcode{\libconcept{indirectly_writable}<Out, T>} only if:
13421342
\begin{itemize}
13431343
\item If \tcode{Out} and \tcode{T} model
13441344
\tcode{\libconcept{indirectly_readable}<Out> \&\& \libconcept{same_as}<iter_value_t<Out>, decay_t<T>>},
@@ -1544,7 +1544,7 @@
15441544
\pnum
15451545
Let \tcode{i} be an object of type \tcode{I}. When \tcode{i} is in the domain of
15461546
both pre- and post-increment, \tcode{i} is said to be \defn{incrementable}.
1547-
\tcode{I} models \tcode{\libconcept{weakly_incrementable}<I>} only if
1547+
\tcode{I} models \tcode{\libconcept{weakly_incrementable}<I>} only if:
15481548
\begin{itemize}
15491549
\item The expressions \tcode{++i} and \tcode{i++} have the same domain.
15501550
\item If \tcode{i} is incrementable, then both \tcode{++i}
@@ -1591,7 +1591,7 @@
15911591

15921592
\pnum
15931593
Let \tcode{a} and \tcode{b} be incrementable objects of type \tcode{I}.
1594-
\tcode{I} models \libconcept{incrementable} only if
1594+
\tcode{I} models \libconcept{incrementable} only if:
15951595
\begin{itemize}
15961596
\item If \tcode{bool(a == b)} then \tcode{bool(a++ == b)}.
15971597
\item If \tcode{bool(a == b)} then \tcode{bool(((void)a++, a) == ++b)}.
@@ -1654,7 +1654,7 @@
16541654
\pnum
16551655
Let \tcode{s} and \tcode{i} be values of type \tcode{S} and
16561656
\tcode{I} such that \range{i}{s} denotes a range. Types
1657-
\tcode{S} and \tcode{I} model \tcode{\libconcept{sentinel_for}<S, I>} only if
1657+
\tcode{S} and \tcode{I} model \tcode{\libconcept{sentinel_for}<S, I>} only if:
16581658
\begin{itemize}
16591659
\item \tcode{i == s} is well-defined.
16601660

@@ -1699,7 +1699,7 @@
16991699
a sentinel of type \tcode{S} such that \range{i}{s} denotes a range.
17001700
Let $N$ be the smallest number of applications of \tcode{++i}
17011701
necessary to make \tcode{bool(i == s)} be \tcode{true}.
1702-
\tcode{S} and \tcode{I} model \tcode{\libconcept{sized_sentinel_for}<S, I>} only if
1702+
\tcode{S} and \tcode{I} model \tcode{\libconcept{sized_sentinel_for}<S, I>} only if:
17031703
\begin{itemize}
17041704
\item If $N$ is representable by \tcode{iter_difference_t<I>},
17051705
then \tcode{s - i} is well-defined and equals $N$.
@@ -1872,7 +1872,7 @@
18721872

18731873
\pnum
18741874
Let \tcode{a} and \tcode{b} be equal objects of type \tcode{I}.
1875-
\tcode{I} models \libconcept{bidirectional_iterator} only if
1875+
\tcode{I} models \libconcept{bidirectional_iterator} only if:
18761876
\begin{itemize}
18771877
\item If \tcode{a} and \tcode{b} are decrementable,
18781878
then all of the following are \tcode{true}:
@@ -1918,7 +1918,7 @@
19181918
after \tcode{n} applications of \tcode{++a},
19191919
let \tcode{D} be \tcode{iter_difference_t<I>},
19201920
and let \tcode{n} denote a value of type \tcode{D}.
1921-
\tcode{I} models \libconcept{random_access_iterator} only if
1921+
\tcode{I} models \libconcept{random_access_iterator} only if:
19221922
\begin{itemize}
19231923
\item \tcode{(a += n)} is equal to \tcode{b}.
19241924
\item \tcode{addressof(a += n)} is equal to \tcode{addressof(a)}.

0 commit comments

Comments
 (0)