Skip to content

Commit ff8ce23

Browse files
committed
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent 9fd3bdb commit ff8ce23

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
@@ -784,7 +784,7 @@
784784
\indextext{string!null-terminated byte}%
785785
\indextext{NTBS}%
786786
\term{null-terminated byte string},
787-
or \ntbs,
787+
or \ntbs{},
788788
is a character sequence whose highest-addressed element
789789
with defined content has the value zero
790790
(the
@@ -802,17 +802,17 @@
802802

803803
\pnum
804804
The
805-
\term{length} of an \ntbs
805+
\term{length} of an \ntbs{}
806806
is the number of elements that
807807
precede the terminating null character.
808808
\indextext{NTBS}%
809809
An
810-
\term{empty} \ntbs
810+
\term{empty} \ntbs{}
811811
has a length of zero.
812812

813813
\pnum
814814
The
815-
\term{value} of an \ntbs
815+
\term{value} of an \ntbs{}
816816
is the sequence of values of the
817817
elements up to and including the terminating null character.
818818
\indextext{NTBS}%
@@ -821,29 +821,30 @@
821821
A
822822
\indextext{NTBS}%
823823
\indextext{NTBS!static}%
824-
\term{static} \ntbs
825-
is an \ntbs with
824+
\term{static} \ntbs{}
825+
is an \ntbs{} with
826826
static storage duration.\footnote{A string literal, such as
827827
\tcode{"abc"},
828-
is a static \ntbs.}
828+
is a static \ntbs{}.}
829829

830830
\rSec5[multibyte.strings]{Multibyte strings}
831831

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

843844
\pnum
844845
A
845-
\term{static} \ntmbs
846-
is an \ntmbs with static storage duration.
846+
\term{static} \ntmbs{}
847+
is an \ntmbs{} with static storage duration.
847848
\indextext{NTMBS!static}%
848849
\indextext{NTMBS}%
849850

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)