Skip to content

Commit 976e52e

Browse files
committed
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent e2389f5 commit 976e52e

File tree

8 files changed

+31
-30
lines changed

8 files changed

+31
-30
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)\iref{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
@@ -911,7 +911,7 @@
911911
\tcode{istream(\&sb)}
912912
and initializing \tcode{sb} with
913913
\tcode{strstreambuf(s,0)}.
914-
\tcode{s} shall designate the first element of an \ntbs.%
914+
\tcode{s} shall designate the first element of an \ntbs{}.%
915915
\indextext{NTBS}
916916
\end{itemdescr}
917917

@@ -1038,7 +1038,7 @@
10381038
If
10391039
\tcode{(mode \& app) != 0},
10401040
then \tcode{s} shall designate the first element of an array of \tcode{n} elements that
1041-
contains an \ntbs whose first element is designated by \tcode{s}.
1041+
contains an \ntbs{} whose first element is designated by \tcode{s}.
10421042
\indextext{NTBS}%
10431043
The constructor is
10441044
\tcode{strstreambuf(s, n, s + std::strlen(s))}.\footnote{The function signature
@@ -1187,7 +1187,7 @@
11871187
\tcode{(mode \& app) != 0},
11881188
then \tcode{s} shall
11891189
designate the first element of an array of \tcode{n} elements that contains
1190-
an \ntbs whose first element is designated by \tcode{s}.
1190+
an \ntbs{} whose first element is designated by \tcode{s}.
11911191
The constructor is
11921192
\tcode{strstreambuf(s,n,s + std::strlen(s))}.
11931193
\indexlibrary{\idxcode{strstream}!destructor}%

source/iostreams.tex

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

source/lib-intro.tex

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@
774774
A
775775
\indextext{NTBS}%
776776
\defnx{null-terminated byte string}{string!null-terminated byte},
777-
or \ntbs,
777+
or \ntbs{},
778778
is a character sequence whose highest-addressed element
779779
with defined content has the value zero
780780
(the
@@ -792,17 +792,17 @@
792792

793793
\pnum
794794
The
795-
\term{length} of an \ntbs
795+
\term{length} of an \ntbs{}
796796
is the number of elements that
797797
precede the terminating null character.
798798
\indextext{NTBS}%
799799
An
800-
\term{empty} \ntbs
800+
\term{empty} \ntbs{}
801801
has a length of zero.
802802

803803
\pnum
804804
The
805-
\term{value} of an \ntbs
805+
\term{value} of an \ntbs{}
806806
is the sequence of values of the
807807
elements up to and including the terminating null character.
808808
\indextext{NTBS}%
@@ -811,28 +811,29 @@
811811
A
812812
\indextext{NTBS}%
813813
\defnx{static}{NTBS!static} \ntbs
814-
is an \ntbs with
814+
is an \ntbs{} with
815815
static storage duration.\footnote{A string literal, such as
816816
\tcode{"abc"},
817-
is a static \ntbs.}
817+
is a static \ntbs{}.}
818818

819819
\rSec5[multibyte.strings]{Multibyte strings}
820820

821821
\pnum
822822
\indextext{NTBS}%
823823
\indextext{NTMBS}%
824824
A \defnx{null-terminated multibyte string}{string!null-terminated multibyte},
825-
or \ntmbs, is an \ntbs that constitutes a
825+
or \ntmbs{},
826+
is an \ntbs{} that constitutes a
826827
sequence of valid multibyte characters, beginning and ending in the initial
827-
shift state.\footnote{An \ntbs that contains characters only from the
828-
basic execution character set is also an \ntmbs.
828+
shift state.\footnote{An \ntbs{} that contains characters only from the
829+
basic execution character set is also an \ntmbs{}.
829830
Each multibyte character then
830831
consists of a single byte.}
831832

832833
\pnum
833834
A
834835
\defnx{static}{NTMBS!static} \ntmbs
835-
is an \ntmbs with static storage duration.
836+
is an \ntmbs{} with static storage duration.
836837
\indextext{NTMBS}%
837838

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

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
@@ -3213,7 +3213,7 @@
32133213
\postconditions
32143214
\tcode{what()} returns an
32153215
\impldef{return value of \tcode{bad_optional_access::what}}
3216-
\ntbs.
3216+
\ntbs{}.
32173217
\end{itemdescr}
32183218

32193219
\rSec2[optional.relops]{Relational operators}
@@ -5012,7 +5012,7 @@
50125012

50135013
\begin{itemdescr}
50145014
\pnum
5015-
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs.
5015+
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs{}.
50165016
\end{itemdescr}
50175017

50185018
\rSec2[variant.hash]{Hash support}
@@ -9097,7 +9097,7 @@
90979097

90989098
\begin{itemdescr}
90999099
\pnum\postconditions \tcode{what()} returns an
9100-
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs.
9100+
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs{}.
91019101

91029102
\end{itemdescr}
91039103

@@ -14287,7 +14287,7 @@
1428714287

1428814288
\begin{itemdescr}
1428914289
\pnum\postconditions \tcode{what()} returns an
14290-
\impldef{return value of \tcode{bad_function_call::what}} \ntbs.
14290+
\impldef{return value of \tcode{bad_function_call::what}} \ntbs{}.
1429114291
\end{itemdescr}
1429214292

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

0 commit comments

Comments
 (0)