Skip to content

Commit 38675ca

Browse files
committed
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent cf0b9e2 commit 38675ca

File tree

8 files changed

+34
-33
lines changed

8 files changed

+34
-33
lines changed

source/basic.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,9 +2465,9 @@
24652465
program is run. If
24662466
\tcode{argc} is nonzero these arguments shall be supplied in
24672467
\tcode{argv[0]} through \tcode{argv[argc-1]} as pointers to the initial
2468-
characters of null-terminated multibyte strings (\ntmbs
2468+
characters of null-terminated multibyte strings (\ntmbs{}
24692469
s)~(\ref{multibyte.strings}) and \tcode{argv[0]} shall be the pointer to
2470-
the initial character of a \ntmbs that represents the name used to
2470+
the initial character of a \ntmbs{} that represents the name used to
24712471
invoke the program or \tcode{""}. The value of \tcode{argc} shall be
24722472
non-negative. The value of \tcode{argv[argc]} shall be 0. \begin{note} It
24732473
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
@@ -1794,8 +1794,8 @@
17941794

17951795
\begin{itemdescr}
17961796
\pnum
1797-
\returns An \ntbs incorporating the arguments supplied in the constructor.
1797+
\returns An \ntbs{} incorporating the arguments supplied in the constructor.
17981798

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

source/future.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@
842842
\tcode{istream(\&sb)}
843843
and initializing \tcode{sb} with
844844
\tcode{strstreambuf(s,0)}.
845-
\tcode{s} shall designate the first element of an \ntbs.%
845+
\tcode{s} shall designate the first element of an \ntbs{}.%
846846
\indextext{NTBS}
847847
\end{itemdescr}
848848

@@ -969,7 +969,7 @@
969969
If
970970
\tcode{(mode \& app) != 0},
971971
then \tcode{s} shall designate the first element of an array of \tcode{n} elements that
972-
contains an \ntbs whose first element is designated by \tcode{s}.
972+
contains an \ntbs{} whose first element is designated by \tcode{s}.
973973
\indextext{NTBS}%
974974
The constructor is
975975
\tcode{strstreambuf(s, n, s + std::strlen(s))}.\footnote{The function signature
@@ -1119,7 +1119,7 @@
11191119
\tcode{(mode \& app) != 0},
11201120
then \tcode{s} shall
11211121
designate the first element of an array of \tcode{n} elements that contains
1122-
an \ntbs whose first element is designated by \tcode{s}.
1122+
an \ntbs{} whose first element is designated by \tcode{s}.
11231123
The constructor is
11241124
\tcode{strstreambuf(s,n,s + std::strlen(s))}.
11251125
\indexlibrary{\idxcode{strstream}!destructor}%

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8629,12 +8629,12 @@
86298629
\tcode{filebuf}
86308630
as required.
86318631
It then opens a file, if possible, whose name is the
8632-
\ntbs \tcode{s}
8632+
\ntbs{} \tcode{s}
86338633
(as if by calling
86348634
\tcode{fopen(s, modstr)}).
86358635
\indextext{NTBS}%
86368636
\indexlibrary{\idxcode{fopen}}%
8637-
The \ntbs \tcode{modstr} is determined from
8637+
The \ntbs{} \tcode{modstr} is determined from
86388638
\tcode{mode \& \~{}ios_base::ate}
86398639
as indicated in Table~\ref{tab:iostreams.file.open.modes}.
86408640
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
@@ -783,7 +783,7 @@
783783
\indextext{string!null-terminated byte}%
784784
\indextext{NTBS}%
785785
\term{null-terminated byte string},
786-
or \ntbs,
786+
or \ntbs{},
787787
is a character sequence whose highest-addressed element
788788
with defined content has the value zero
789789
(the
@@ -801,17 +801,17 @@
801801

802802
\pnum
803803
The
804-
\term{length} of an \ntbs
804+
\term{length} of an \ntbs{}
805805
is the number of elements that
806806
precede the terminating null character.
807807
\indextext{NTBS}%
808808
An
809-
\term{empty} \ntbs
809+
\term{empty} \ntbs{}
810810
has a length of zero.
811811

812812
\pnum
813813
The
814-
\term{value} of an \ntbs
814+
\term{value} of an \ntbs{}
815815
is the sequence of values of the
816816
elements up to and including the terminating null character.
817817
\indextext{NTBS}%
@@ -820,29 +820,30 @@
820820
A
821821
\indextext{NTBS}%
822822
\indextext{NTBS!static}%
823-
\term{static} \ntbs
824-
is an \ntbs with
823+
\term{static} \ntbs{}
824+
is an \ntbs{} with
825825
static storage duration.\footnote{A string literal, such as
826826
\tcode{"abc"},
827-
is a static \ntbs.}
827+
is a static \ntbs{}.}
828828

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

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

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

source/support.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,7 +2374,7 @@
23742374
\begin{itemdescr}
23752375
\pnum
23762376
\returns
2377-
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs.
2377+
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs{}.
23782378

23792379
\pnum
23802380
\remarks
@@ -2420,7 +2420,7 @@
24202420
\begin{itemdescr}
24212421
\pnum
24222422
\returns
2423-
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs.
2423+
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs{}.
24242424

24252425
\pnum
24262426
\remarks
@@ -2739,7 +2739,7 @@
27392739
\begin{itemdescr}
27402740
\pnum
27412741
\returns
2742-
An \impldef{return value of \tcode{type_info::name()}} \ntbs.
2742+
An \impldef{return value of \tcode{type_info::name()}} \ntbs{}.
27432743

27442744
\pnum
27452745
\remarks
@@ -2806,7 +2806,7 @@
28062806
\begin{itemdescr}
28072807
\pnum
28082808
\returns
2809-
An \impldef{return value of \tcode{bad_cast::what}} \ntbs.
2809+
An \impldef{return value of \tcode{bad_cast::what}} \ntbs{}.
28102810

28112811
\pnum
28122812
\remarks
@@ -2873,7 +2873,7 @@
28732873
\begin{itemdescr}
28742874
\pnum
28752875
\returns
2876-
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs.
2876+
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs{}.
28772877

28782878
\pnum
28792879
\remarks
@@ -3002,7 +3002,7 @@
30023002
\begin{itemdescr}
30033003
\pnum
30043004
\returns
3005-
An \impldef{return value of \tcode{exception::what}} \ntbs.
3005+
An \impldef{return value of \tcode{exception::what}} \ntbs{}.
30063006

30073007
\pnum
30083008
\remarks
@@ -3071,7 +3071,7 @@
30713071
\begin{itemdescr}
30723072
\pnum
30733073
\returns
3074-
An \impldef{return value of \tcode{bad_exception::what}} \ntbs.
3074+
An \impldef{return value of \tcode{bad_exception::what}} \ntbs{}.
30753075

30763076
\pnum
30773077
\remarks

source/threads.tex

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

36863686
\begin{itemdescr}
36873687
\pnum
3688-
\returns An \ntbs incorporating \tcode{code().message()}.
3688+
\returns An \ntbs{} incorporating \tcode{code().message()}.
36893689
\end{itemdescr}
36903690

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

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,7 +3497,7 @@
34973497
\postconditions
34983498
\tcode{what()} returns an
34993499
\impldef{return value of \tcode{bad_optional_access::what}}
3500-
\ntbs.
3500+
\ntbs{}.
35013501
\end{itemdescr}
35023502

35033503
\rSec2[optional.relops]{Relational operators}
@@ -5259,7 +5259,7 @@
52595259

52605260
\begin{itemdescr}
52615261
\pnum
5262-
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs.
5262+
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs{}.
52635263
\end{itemdescr}
52645264

52655265
\rSec2[variant.hash]{Hash support}
@@ -9332,7 +9332,7 @@
93329332

93339333
\begin{itemdescr}
93349334
\pnum\postconditions \tcode{what()} returns an
9335-
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs.
9335+
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs{}.
93369336

93379337
\end{itemdescr}
93389338

@@ -14300,7 +14300,7 @@
1430014300

1430114301
\begin{itemdescr}
1430214302
\pnum\postconditions \tcode{what()} returns an
14303-
\impldef{return value of \tcode{bad_function_call::what}} \ntbs.
14303+
\impldef{return value of \tcode{bad_function_call::what}} \ntbs{}.
1430414304
\end{itemdescr}
1430514305

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

0 commit comments

Comments
 (0)