Skip to content

Commit 09baadb

Browse files
jensmaurerEelis
authored andcommitted
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent 5ecb582 commit 09baadb

File tree

8 files changed

+33
-32
lines changed

8 files changed

+33
-32
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2479,7 +2479,7 @@
24792479
\tcode{argv[0]} through \tcode{argv[argc-1]} as pointers to the initial
24802480
characters of null-terminated multibyte strings (\ntmbs{}s)~(\ref{multibyte.strings})
24812481
and \tcode{argv[0]} shall be the pointer to
2482-
the initial character of a \ntmbs that represents the name used to
2482+
the initial character of a \ntmbs{} that represents the name used to
24832483
invoke the program or \tcode{""}. The value of \tcode{argc} shall be
24842484
non-negative. The value of \tcode{argv[argc]} shall be 0. \begin{note} It
24852485
is recommended that any further (optional) parameters be added after

source/diagnostics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,8 +1791,8 @@
17911791

17921792
\begin{itemdescr}
17931793
\pnum
1794-
\returns An \ntbs incorporating the arguments supplied in the constructor.
1794+
\returns An \ntbs{} incorporating the arguments supplied in the constructor.
17951795

1796-
\begin{note} The returned \ntbs might be the contents of \tcode{what_arg + ": " +
1796+
\begin{note} The returned \ntbs{} might be the contents of \tcode{what_arg + ": " +
17971797
code.message()}.\end{note}
17981798
\end{itemdescr}

source/future.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
\tcode{istream(\&sb)}
914914
and initializing \tcode{sb} with
915915
\tcode{strstreambuf(s,0)}.
916-
\tcode{s} shall designate the first element of an \ntbs.%
916+
\tcode{s} shall designate the first element of an \ntbs{}.%
917917
\indextext{NTBS}
918918
\end{itemdescr}
919919

@@ -1040,7 +1040,7 @@
10401040
If
10411041
\tcode{(mode \& app) != 0},
10421042
then \tcode{s} shall designate the first element of an array of \tcode{n} elements that
1043-
contains an \ntbs whose first element is designated by \tcode{s}.
1043+
contains an \ntbs{} whose first element is designated by \tcode{s}.
10441044
\indextext{NTBS}%
10451045
The constructor is
10461046
\tcode{strstreambuf(s, n, s + std::strlen(s))}.\footnote{The function signature
@@ -1190,7 +1190,7 @@
11901190
\tcode{(mode \& app) != 0},
11911191
then \tcode{s} shall
11921192
designate the first element of an array of \tcode{n} elements that contains
1193-
an \ntbs whose first element is designated by \tcode{s}.
1193+
an \ntbs{} whose first element is designated by \tcode{s}.
11941194
The constructor is
11951195
\tcode{strstreambuf(s,n,s + std::strlen(s))}.
11961196
\indexlibrary{\idxcode{strstream}!destructor}%

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8650,12 +8650,12 @@
86508650
\tcode{filebuf}
86518651
as required.
86528652
It then opens a file, if possible, whose name is the
8653-
\ntbs \tcode{s}
8653+
\ntbs{} \tcode{s}
86548654
(as if by calling
86558655
\tcode{fopen(s, modstr)}).
86568656
\indextext{NTBS}%
86578657
\indexlibrary{\idxcode{fopen}}%
8658-
The \ntbs \tcode{modstr} is determined from
8658+
The \ntbs{} \tcode{modstr} is determined from
86598659
\tcode{mode \& \~{}ios_base::ate}
86608660
as indicated in Table~\ref{tab:iostreams.file.open.modes}.
86618661
If \tcode{mode} is not some combination of flags shown in the table then

source/lib-intro.tex

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@
782782
\indextext{string!null-terminated byte}%
783783
\indextext{NTBS}%
784784
\term{null-terminated byte string},
785-
or \ntbs,
785+
or \ntbs{},
786786
is a character sequence whose highest-addressed element
787787
with defined content has the value zero
788788
(the
@@ -800,17 +800,17 @@
800800

801801
\pnum
802802
The
803-
\term{length} of an \ntbs
803+
\term{length} of an \ntbs{}
804804
is the number of elements that
805805
precede the terminating null character.
806806
\indextext{NTBS}%
807807
An
808-
\term{empty} \ntbs
808+
\term{empty} \ntbs{}
809809
has a length of zero.
810810

811811
\pnum
812812
The
813-
\term{value} of an \ntbs
813+
\term{value} of an \ntbs{}
814814
is the sequence of values of the
815815
elements up to and including the terminating null character.
816816
\indextext{NTBS}%
@@ -819,29 +819,30 @@
819819
A
820820
\indextext{NTBS}%
821821
\indextext{NTBS!static}%
822-
\term{static} \ntbs
823-
is an \ntbs with
822+
\term{static} \ntbs{}
823+
is an \ntbs{} with
824824
static storage duration.\footnote{A string literal, such as
825825
\tcode{"abc"},
826-
is a static \ntbs.}
826+
is a static \ntbs{}.}
827827

828828
\rSec5[multibyte.strings]{Multibyte strings}
829829

830830
\pnum
831831
\indextext{NTBS}%
832832
\indextext{NTMBS}%
833833
A \defnx{null-terminated multibyte string}{string!null-terminated multibyte},
834-
or \ntmbs, is an \ntbs that constitutes a
834+
or \ntmbs{},
835+
is an \ntbs{} that constitutes a
835836
sequence of valid multibyte characters, beginning and ending in the initial
836-
shift state.\footnote{An \ntbs that contains characters only from the
837-
basic execution character set is also an \ntmbs.
837+
shift state.\footnote{An \ntbs{} that contains characters only from the
838+
basic execution character set is also an \ntmbs{}.
838839
Each multibyte character then
839840
consists of a single byte.}
840841

841842
\pnum
842843
A
843-
\term{static} \ntmbs
844-
is an \ntmbs with static storage duration.
844+
\term{static} \ntmbs{}
845+
is an \ntmbs{} with static storage duration.
845846
\indextext{NTMBS!static}%
846847
\indextext{NTMBS}%
847848

source/support.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2557,7 +2557,7 @@
25572557
\begin{itemdescr}
25582558
\pnum
25592559
\returns
2560-
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs.
2560+
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs{}.
25612561

25622562
\pnum
25632563
\remarks
@@ -2603,7 +2603,7 @@
26032603
\begin{itemdescr}
26042604
\pnum
26052605
\returns
2606-
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs.
2606+
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs{}.
26072607

26082608
\pnum
26092609
\remarks
@@ -2919,7 +2919,7 @@
29192919
\begin{itemdescr}
29202920
\pnum
29212921
\returns
2922-
An \impldef{return value of \tcode{type_info::name()}} \ntbs.
2922+
An \impldef{return value of \tcode{type_info::name()}} \ntbs{}.
29232923

29242924
\pnum
29252925
\remarks
@@ -2986,7 +2986,7 @@
29862986
\begin{itemdescr}
29872987
\pnum
29882988
\returns
2989-
An \impldef{return value of \tcode{bad_cast::what}} \ntbs.
2989+
An \impldef{return value of \tcode{bad_cast::what}} \ntbs{}.
29902990

29912991
\pnum
29922992
\remarks
@@ -3053,7 +3053,7 @@
30533053
\begin{itemdescr}
30543054
\pnum
30553055
\returns
3056-
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs.
3056+
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs{}.
30573057

30583058
\pnum
30593059
\remarks
@@ -3180,7 +3180,7 @@
31803180
\begin{itemdescr}
31813181
\pnum
31823182
\returns
3183-
An \impldef{return value of \tcode{exception::what}} \ntbs.
3183+
An \impldef{return value of \tcode{exception::what}} \ntbs{}.
31843184

31853185
\pnum
31863186
\remarks
@@ -3249,7 +3249,7 @@
32493249
\begin{itemdescr}
32503250
\pnum
32513251
\returns
3252-
An \impldef{return value of \tcode{bad_exception::what}} \ntbs.
3252+
An \impldef{return value of \tcode{bad_exception::what}} \ntbs{}.
32533253

32543254
\pnum
32553255
\remarks

source/threads.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3785,7 +3785,7 @@
37853785

37863786
\begin{itemdescr}
37873787
\pnum
3788-
\returns An \ntbs incorporating \tcode{code().message()}.
3788+
\returns An \ntbs{} incorporating \tcode{code().message()}.
37893789
\end{itemdescr}
37903790

37913791
\rSec2[futures.state]{Shared state}

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3540,7 +3540,7 @@
35403540
\postconditions
35413541
\tcode{what()} returns an
35423542
\impldef{return value of \tcode{bad_optional_access::what}}
3543-
\ntbs.
3543+
\ntbs{}.
35443544
\end{itemdescr}
35453545

35463546
\rSec2[optional.relops]{Relational operators}
@@ -5395,7 +5395,7 @@
53955395

53965396
\begin{itemdescr}
53975397
\pnum
5398-
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs.
5398+
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs{}.
53995399
\end{itemdescr}
54005400

54015401
\rSec2[variant.hash]{Hash support}
@@ -9501,7 +9501,7 @@
95019501

95029502
\begin{itemdescr}
95039503
\pnum\postconditions \tcode{what()} returns an
9504-
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs.
9504+
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs{}.
95059505

95069506
\end{itemdescr}
95079507

@@ -14467,7 +14467,7 @@
1446714467

1446814468
\begin{itemdescr}
1446914469
\pnum\postconditions \tcode{what()} returns an
14470-
\impldef{return value of \tcode{bad_function_call::what}} \ntbs.
14470+
\impldef{return value of \tcode{bad_function_call::what}} \ntbs{}.
1447114471
\end{itemdescr}
1447214472

1447314473
\rSec3[func.wrap.func]{Class template \tcode{function}}

0 commit comments

Comments
 (0)