Skip to content

Commit 5ff721d

Browse files
jensmaurertkoeppe
authored andcommitted
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent be23a2a commit 5ff721d

File tree

8 files changed

+34
-33
lines changed

8 files changed

+34
-33
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5198,7 +5198,7 @@
51985198
\tcode{argv[0]} through \tcode{argv[argc-1]} as pointers to the initial
51995199
characters of null-terminated multibyte strings (\ntmbs{}s)\iref{multibyte.strings}
52005200
and \tcode{argv[0]} shall be the pointer to
5201-
the initial character of a \ntmbs that represents the name used to
5201+
the initial character of a \ntmbs{} that represents the name used to
52025202
invoke the program or \tcode{""}. The value of \tcode{argc} shall be
52035203
non-negative. The value of \tcode{argv[argc]} shall be 0. \begin{note} It
52045204
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
@@ -1792,8 +1792,8 @@
17921792

17931793
\begin{itemdescr}
17941794
\pnum
1795-
\returns An \ntbs incorporating the arguments supplied in the constructor.
1795+
\returns An \ntbs{} incorporating the arguments supplied in the constructor.
17961796

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

source/future.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@
987987
\tcode{istream(\&sb)}
988988
and initializing \tcode{sb} with
989989
\tcode{strstreambuf(s,0)}.
990-
\tcode{s} shall designate the first element of an \ntbs.%
990+
\tcode{s} shall designate the first element of an \ntbs{}.%
991991
\indextext{NTBS}
992992
\end{itemdescr}
993993

@@ -1114,7 +1114,7 @@
11141114
If
11151115
\tcode{(mode \& app) != 0},
11161116
then \tcode{s} shall designate the first element of an array of \tcode{n} elements that
1117-
contains an \ntbs whose first element is designated by \tcode{s}.
1117+
contains an \ntbs{} whose first element is designated by \tcode{s}.
11181118
\indextext{NTBS}%
11191119
The constructor is
11201120
\tcode{strstreambuf(s, n, s + std::strlen(s))}.\footnote{The function signature
@@ -1262,7 +1262,7 @@
12621262
\tcode{(mode \& app) != 0},
12631263
then \tcode{s} shall
12641264
designate the first element of an array of \tcode{n} elements that contains
1265-
an \ntbs whose first element is designated by \tcode{s}.
1265+
an \ntbs{} whose first element is designated by \tcode{s}.
12661266
The constructor is
12671267
\tcode{strstreambuf(s,n,s + std::strlen(s))}.
12681268
\indexlibrary{\idxcode{strstream}!destructor}%

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8653,12 +8653,12 @@
86538653
\tcode{filebuf}
86548654
as required.
86558655
It then opens a file, if possible, whose name is the
8656-
\ntbs \tcode{s}
8656+
\ntbs{} \tcode{s}
86578657
(as if by calling
86588658
\tcode{fopen(s, modstr)}).
86598659
\indextext{NTBS}%
86608660
\indexlibrary{\idxcode{fopen}}%
8661-
The \ntbs \tcode{modstr} is determined from
8661+
The \ntbs{} \tcode{modstr} is determined from
86628662
\tcode{mode \& \~{}ios_base::ate}
86638663
as indicated in Table~\ref{tab:iostreams.file.open.modes}.
86648664
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
@@ -793,7 +793,7 @@
793793
A
794794
\indextext{NTBS}%
795795
\defnx{null-terminated byte string}{string!null-terminated byte},
796-
or \ntbs,
796+
or \ntbs{},
797797
is a character sequence whose highest-addressed element
798798
with defined content has the value zero
799799
(the
@@ -809,47 +809,48 @@
809809

810810
\pnum
811811
The
812-
\term{length} of an \ntbs
812+
\term{length} of an \ntbs{}
813813
is the number of elements that
814814
precede the terminating null character.
815815
\indextext{NTBS}%
816816
An
817-
\term{empty} \ntbs
817+
\term{empty} \ntbs{}
818818
has a length of zero.
819819

820820
\pnum
821821
The
822-
\term{value} of an \ntbs
822+
\term{value} of an \ntbs{}
823823
is the sequence of values of the
824824
elements up to and including the terminating null character.
825825
\indextext{NTBS}%
826826

827827
\pnum
828828
A
829829
\indextext{NTBS}%
830-
\defnx{static}{NTBS!static} \ntbs
831-
is an \ntbs with
830+
\defnx{static}{NTBS!static} \ntbs{}
831+
is an \ntbs{} with
832832
static storage duration.\footnote{A string literal, such as
833833
\tcode{"abc"},
834-
is a static \ntbs.}
834+
is a static \ntbs{}.}
835835

836836
\rSec5[multibyte.strings]{Multibyte strings}
837837

838838
\pnum
839839
\indextext{NTBS}%
840840
\indextext{NTMBS}%
841841
A \defnx{null-terminated multibyte string}{string!null-terminated multibyte},
842-
or \ntmbs, is an \ntbs that constitutes a
842+
or \ntmbs{},
843+
is an \ntbs{} that constitutes a
843844
sequence of valid multibyte characters, beginning and ending in the initial
844-
shift state.\footnote{An \ntbs that contains characters only from the
845-
basic execution character set is also an \ntmbs.
845+
shift state.\footnote{An \ntbs{} that contains characters only from the
846+
basic execution character set is also an \ntmbs{}.
846847
Each multibyte character then
847848
consists of a single byte.}
848849

849850
\pnum
850851
A
851-
\defnx{static}{NTMBS!static} \ntmbs
852-
is an \ntmbs with static storage duration.
852+
\defnx{static}{NTMBS!static} \ntmbs{}
853+
is an \ntmbs{} with static storage duration.
853854
\indextext{NTMBS}%
854855

855856
\rSec3[functions.within.classes]{Functions within classes}

source/support.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2561,7 +2561,7 @@
25612561
\begin{itemdescr}
25622562
\pnum
25632563
\returns
2564-
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs.
2564+
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs{}.
25652565

25662566
\pnum
25672567
\remarks
@@ -2607,7 +2607,7 @@
26072607
\begin{itemdescr}
26082608
\pnum
26092609
\returns
2610-
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs.
2610+
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs{}.
26112611

26122612
\pnum
26132613
\remarks
@@ -2922,7 +2922,7 @@
29222922
\begin{itemdescr}
29232923
\pnum
29242924
\returns
2925-
An \impldef{return value of \tcode{type_info::name()}} \ntbs.
2925+
An \impldef{return value of \tcode{type_info::name()}} \ntbs{}.
29262926

29272927
\pnum
29282928
\remarks
@@ -2989,7 +2989,7 @@
29892989
\begin{itemdescr}
29902990
\pnum
29912991
\returns
2992-
An \impldef{return value of \tcode{bad_cast::what}} \ntbs.
2992+
An \impldef{return value of \tcode{bad_cast::what}} \ntbs{}.
29932993

29942994
\pnum
29952995
\remarks
@@ -3056,7 +3056,7 @@
30563056
\begin{itemdescr}
30573057
\pnum
30583058
\returns
3059-
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs.
3059+
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs{}.
30603060

30613061
\pnum
30623062
\remarks
@@ -3182,7 +3182,7 @@
31823182
\begin{itemdescr}
31833183
\pnum
31843184
\returns
3185-
An \impldef{return value of \tcode{exception::what}} \ntbs.
3185+
An \impldef{return value of \tcode{exception::what}} \ntbs{}.
31863186

31873187
\pnum
31883188
\remarks
@@ -3251,7 +3251,7 @@
32513251
\begin{itemdescr}
32523252
\pnum
32533253
\returns
3254-
An \impldef{return value of \tcode{bad_exception::what}} \ntbs.
3254+
An \impldef{return value of \tcode{bad_exception::what}} \ntbs{}.
32553255

32563256
\pnum
32573257
\remarks

source/threads.tex

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

37553755
\begin{itemdescr}
37563756
\pnum
3757-
\returns An \ntbs incorporating \tcode{code().message()}.
3757+
\returns An \ntbs{} incorporating \tcode{code().message()}.
37583758
\end{itemdescr}
37593759

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

source/utilities.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,7 +3133,7 @@
31333133
\postconditions
31343134
\tcode{what()} returns an
31353135
\impldef{return value of \tcode{bad_optional_access::what}}
3136-
\ntbs.
3136+
\ntbs{}.
31373137
\end{itemdescr}
31383138

31393139
\rSec2[optional.relops]{Relational operators}
@@ -4951,7 +4951,7 @@
49514951

49524952
\begin{itemdescr}
49534953
\pnum
4954-
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs.
4954+
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs{}.
49554955
\end{itemdescr}
49564956

49574957
\rSec2[variant.hash]{Hash support}
@@ -5045,7 +5045,7 @@
50455045

50465046
\begin{itemdescr}
50475047
\pnum
5048-
\returns An \impldef{return value of \tcode{bad_any_cast::what}} \ntbs.
5048+
\returns An \impldef{return value of \tcode{bad_any_cast::what}} \ntbs{}.
50495049

50505050
\pnum
50515051
\remarks
@@ -9066,7 +9066,7 @@
90669066

90679067
\begin{itemdescr}
90689068
\pnum\postconditions \tcode{what()} returns an
9069-
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs.
9069+
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs{}.
90709070

90719071
\end{itemdescr}
90729072

@@ -14519,7 +14519,7 @@
1451914519

1452014520
\begin{itemdescr}
1452114521
\pnum\postconditions \tcode{what()} returns an
14522-
\impldef{return value of \tcode{bad_function_call::what}} \ntbs.
14522+
\impldef{return value of \tcode{bad_function_call::what}} \ntbs{}.
1452314523
\end{itemdescr}
1452414524

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

0 commit comments

Comments
 (0)