Skip to content

Commit cb84c6a

Browse files
opensdhzygoloid
authored andcommitted
Use \libconcept
...in or instead of \tcode
1 parent 0c49847 commit cb84c6a

File tree

4 files changed

+28
-20
lines changed

4 files changed

+28
-20
lines changed

source/iterators.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,11 +1389,13 @@
13891389

13901390
\pnum
13911391
A type \tcode{I} is \defn{integer-like}
1392-
if it models \tcode{integral<I>} or if it is an integer-class type.
1392+
if it models \tcode{\libconcept{integral}<I>} or
1393+
if it is an integer-class type.
13931394
A type \tcode{I} is \defn{signed-integer-like}
1394-
if it models \tcode{signed_integral<I>} or if it is a signed-integer-class type.
1395+
if it models \tcode{\libconcept{signed_integral}<I>} or
1396+
if it is a signed-integer-class type.
13951397
A type \tcode{I} is \defn{unsigned-integer-like}
1396-
if it models \tcode{unsigned_integral<I>} or
1398+
if it models \tcode{\libconcept{unsigned_integral}<I>} or
13971399
if it is an unsigned-integer-class type.
13981400

13991401
\pnum
@@ -1405,7 +1407,7 @@
14051407
\pnum
14061408
Let \tcode{i} be an object of type \tcode{I}. When \tcode{i} is in the domain of
14071409
both pre- and post-increment, \tcode{i} is said to be \term{incrementable}.
1408-
\tcode{I} models \tcode{weakly_incrementable<I>} only if
1410+
\tcode{I} models \tcode{\libconcept{weakly_incrementable}<I>} only if
14091411

14101412
\begin{itemize}
14111413
\item The expressions \tcode{++i} and \tcode{i++} have the same domain.

source/ranges.tex

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,13 @@
317317
\item
318318
Otherwise, if \tcode{E} is an lvalue,
319319
\tcode{\placeholdernc{decay-copy}(E.begin())}
320-
if it is a valid expression and its type \tcode{I} models \tcode{input_or_output_iterator}.
320+
if it is a valid expression and its type \tcode{I} models
321+
\libconcept{input_or_output_iterator}.
321322

322323
\item
323324
Otherwise, \tcode{\placeholdernc{decay-copy}(begin(E))} if it is a
324-
valid expression and its type \tcode{I} models \tcode{input_or_output_iterator} with overload
325+
valid expression and its type \tcode{I} models
326+
\libconcept{input_or_output_iterator} with overload
325327
resolution performed in a context that includes the declarations:
326328
\begin{codeblock}
327329
template<class T> void begin(T&&) = delete;
@@ -409,7 +411,7 @@
409411
\pnum
410412
\begin{note}
411413
Whenever \tcode{ranges::cbegin(E)} is a valid expression, its type models
412-
\tcode{input_or_output_iterator}.
414+
\libconcept{input_or_output_iterator}.
413415
\end{note}
414416

415417
\rSec2[range.access.cend]{\tcode{ranges::cend}}
@@ -442,11 +444,13 @@
442444
\begin{itemize}
443445
\item
444446
If \tcode{E} is an lvalue, \tcode{\placeholdernc{decay-copy}(E.rbegin())}
445-
if it is a valid expression and its type \tcode{I} models \tcode{input_or_output_iterator}.
447+
if it is a valid expression and its type \tcode{I} models
448+
\libconcept{input_or_output_iterator}.
446449

447450
\item
448451
Otherwise, \tcode{\placeholdernc{decay-copy}(rbegin(E))} if it is a valid
449-
expression and its type \tcode{I} models \tcode{input_or_output_iterator} with overload
452+
expression and its type \tcode{I} models
453+
\libconcept{input_or_output_iterator} with overload
450454
resolution performed in a context that includes the declaration:
451455
\begin{codeblock}
452456
template<class T> void rbegin(T&&) = delete;
@@ -471,7 +475,7 @@
471475
\pnum
472476
\begin{note}
473477
Whenever \tcode{ranges::rbegin(E)} is a valid expression, its type models
474-
\tcode{input_or_output_iterator}.
478+
\libconcept{input_or_output_iterator}.
475479
\end{note}
476480

477481
\rSec2[range.access.rend]{\tcode{ranges::rend}}
@@ -540,7 +544,7 @@
540544
\pnum
541545
\begin{note}
542546
Whenever \tcode{ranges::crbegin(E)} is a valid expression, its
543-
type models \tcode{input_or_output_iterator}.
547+
type models \libconcept{input_or_output_iterator}.
544548
\end{note}
545549

546550
\rSec2[range.access.crend]{\tcode{ranges::crend}}
@@ -670,7 +674,7 @@
670674

671675
\item
672676
Otherwise, if \tcode{ranges::begin(E)} is a valid expression whose type models
673-
\tcode{contiguous_iterator},
677+
\libconcept{contiguous_iterator},
674678
\tcode{to_address(ranges::begin(E))}.
675679

676680
\item
@@ -2820,10 +2824,12 @@
28202824
\item Let \tcode{C} denote the type
28212825
\tcode{iterator_traits<iterator_t<V>>::iterator_category}.
28222826

2823-
\item If \tcode{C} models \tcode{derived_from<bidirectional_iterator_tag>},
2827+
\item If \tcode{C} models
2828+
\tcode{\libconcept{derived_from}<bidirectional_iterator_tag>},
28242829
then \tcode{iterator_category} denotes \tcode{bi\-directional_iterator_tag}.
28252830

2826-
\item Otherwise, if \tcode{C} models \tcode{derived_from<forward_iterator_tag>},
2831+
\item Otherwise, if \tcode{C} models
2832+
\tcode{\libconcept{derived_from}<forward_iterator_tag>},
28272833
then \tcode{iterator_category} denotes \tcode{forward_iterator_tag}.
28282834

28292835
\item Otherwise, \tcode{iterator_category} denotes \tcode{input_iterator_tag}.
@@ -5593,7 +5599,7 @@
55935599
\rSec3[range.istream.overview]{Overview}
55945600

55955601
\pnum
5596-
\tcode{basic_istream_view} models \tcode{input_range} and
5602+
\tcode{basic_istream_view} models \libconcept{input_range} and
55975603
reads (using \tcode{operator>>}) successive elements
55985604
from its corresponding input stream.
55995605

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,7 @@
40214021
template<class... Ts>
40224022
using common_comparison_category_t = typename common_comparison_category<Ts...>::type;
40234023

4024-
// \ref{cmp.concept}, concept \tcode{three_way_comparable}
4024+
// \ref{cmp.concept}, concept \libconcept{three_way_comparable}
40254025
template<class T, class Cat = partial_ordering>
40264026
concept three_way_comparable = @\seebelow@;
40274027
template<class T, class U, class Cat = partial_ordering>

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20232,7 +20232,7 @@
2023220232

2023320233
\pnum
2023420234
\expects
20235-
\tcode{Out} models \tcode{output_iterator<const charT\&>}.
20235+
\tcode{Out} models \tcode{\libconcept{output_iterator}<const charT\&>}.
2023620236

2023720237
\pnum
2023820238
\effects
@@ -20285,11 +20285,11 @@
2028520285

2028620286
\pnum
2028720287
\constraints
20288-
\tcode{Out} satisfies \tcode{output_iterator<const charT\&>}.
20288+
\tcode{Out} satisfies \tcode{\libconcept{output_iterator}<const charT\&>}.
2028920289

2029020290
\pnum
2029120291
\expects
20292-
\tcode{Out} models \tcode{output_iterator<const charT\&>}, and
20292+
\tcode{Out} models \tcode{\libconcept{output_iterator}<const charT\&>}, and
2029320293
\tcode{formatter<}$\tcode{T}_i$\tcode{, charT>}
2029420294
meets the \newoldconcept{Formatter} requirements\iref{formatter.requirements}
2029520295
for each $\tcode{T}_i$ in \tcode{Args}.
@@ -20733,7 +20733,7 @@
2073320733
consisting of the formatting arguments and the output iterator.
2073420734

2073520735
\pnum
20736-
\tcode{Out} shall model \tcode{output_iterator<const charT\&>}.
20736+
\tcode{Out} shall model \tcode{\libconcept{output_iterator}<const charT\&>}.
2073720737

2073820738
\pnum
2073920739
\indexlibrary{\idxcode{format_context}}%

0 commit comments

Comments
 (0)