File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 18389
18389
18390
18390
\pnum
18391
18391
\effects
18392
- Initializes \tcode{\ exposid{data_} } with \tcode{to_address(first)} and
18393
- \tcode{\ exposid{size_} } with \tcode{count}.
18392
+ Initializes \exposid{data_} with \tcode{to_address(first)} and
18393
+ \exposid{size_} with \tcode{count}.
18394
18394
18395
18395
\pnum
18396
18396
\throws
18432
18432
18433
18433
\pnum
18434
18434
\effects
18435
- Initializes \tcode{\ exposid{data_} } with \tcode{to_address(first)} and
18436
- \tcode{\ exposid{size_} } with \tcode{last - first}.
18435
+ Initializes \exposid{data_} with \tcode{to_address(first)} and
18436
+ \exposid{size_} with \tcode{last - first}.
18437
18437
18438
18438
\pnum
18439
18439
\throws
18510
18510
18511
18511
\pnum
18512
18512
\effects
18513
- Initializes \tcode{\ exposid{data_} } with \tcode{ranges::data(r)} and
18514
- \tcode{\ exposid{size_} } with \tcode{ranges::size(r)}.
18513
+ Initializes \exposid{data_} with \tcode{ranges::data(r)} and
18514
+ \exposid{size_} with \tcode{ranges::size(r)}.
18515
18515
18516
18516
\pnum
18517
18517
\throws
Original file line number Diff line number Diff line change 4855
4855
\begin {itemdescr }
4856
4856
\pnum
4857
4857
\returns
4858
- \tcode { \ exposid {mib_} }.
4858
+ \exposid {mib_}.
4859
4859
\end {itemdescr }
4860
4860
4861
4861
\indexlibrarymember {name}{text_encoding}%
4866
4866
\begin {itemdescr }
4867
4867
\pnum
4868
4868
\returns
4869
- \tcode { \ exposid {name_} } if \tcode {(\exposid {name_}[0] != '\textbackslash 0' )}
4869
+ \exposid {name_} if \tcode {(\exposid {name_}[0] != '\textbackslash 0' )}
4870
4870
is \tcode {true}, and
4871
4871
\keyword {nullptr} otherwise.
4872
4872
4873
4873
\pnum
4874
4874
\remarks
4875
4875
If \tcode {name() == nullptr} is \tcode {false},
4876
4876
\tcode {name()} is an \ntbs {} and
4877
- accessing elements of \tcode { \ exposid {name_} }
4877
+ accessing elements of \exposid {name_}
4878
4878
outside of the range \countedrange {name()}{strlen(name()) + 1}
4879
4879
is undefined behavior.
4880
4880
\end {itemdescr }
Original file line number Diff line number Diff line change 13529
13529
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
13530
13530
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = iterator_t<@\exposid{Base}@>(); // \expos
13531
13531
iterator_t<@\exposid{Base}@> @\exposid{last_ele_}@ = iterator_t<@\exposid{Base}@>(); // \expos,
13532
- // present only if \tcode{\ exposid{Base} } models \tcode{\exposconcept{slide-caches-first}}
13532
+ // present only if \exposid{Base} models \tcode{\exposconcept{slide-caches-first}}
13533
13533
range_difference_t<@\exposid{Base}@> @\exposid{n_}@ = 0; // \expos
13534
13534
13535
13535
constexpr @\exposid{iterator}@(iterator_t<@\exposid{Base}@> current, range_difference_t<@\exposid{Base}@> n) // \expos
Original file line number Diff line number Diff line change @@ -83,6 +83,10 @@ fgrep -n '\^' $texfiles |
83
83
grep -n ' U+' $texfiles |
84
84
fail ' use \\unicode or \\ucode or \\uname instead' || failed=1
85
85
86
+ # Discourage double-wrapping \tcode{\exposid{data_}}
87
+ grep -n ' \\tcode{\\exposid{[a-zA-Z0-9_]*}}' $texfiles |
88
+ fail ' double-wrapped \\exposid in \\tcode' || failed=1
89
+
86
90
# Hex digits inside \ucode and \unicode must be lowercase so that \textsc works
87
91
grep -n ' ucode{[^}]*[^0-9a-f}][^}]*}' $texfiles |
88
92
fail ' use lowercase hex digits inside \\ucode' || failed=1
You can’t perform that action at this time.
0 commit comments