Skip to content

Commit 5626739

Browse files
committed
Replace \ntbs with \ntbs{} and \ntmbs with \ntmbs{}
1 parent 4033ef1 commit 5626739

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
@@ -1799,8 +1799,8 @@
17991799

18001800
\begin{itemdescr}
18011801
\pnum
1802-
\returns An \ntbs incorporating the arguments supplied in the constructor.
1802+
\returns An \ntbs{} incorporating the arguments supplied in the constructor.
18031803

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

source/future.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
\tcode{istream(\&sb)}
993993
and initializing \tcode{sb} with
994994
\tcode{strstreambuf(s,0)}.
995-
\tcode{s} shall designate the first element of an \ntbs.%
995+
\tcode{s} shall designate the first element of an \ntbs{}.%
996996
\indextext{NTBS}
997997
\end{itemdescr}
998998

@@ -1119,7 +1119,7 @@
11191119
If
11201120
\tcode{(mode \& app) != 0},
11211121
then \tcode{s} shall designate the first element of an array of \tcode{n} elements that
1122-
contains an \ntbs whose first element is designated by \tcode{s}.
1122+
contains an \ntbs{} whose first element is designated by \tcode{s}.
11231123
\indextext{NTBS}%
11241124
The constructor is
11251125
\tcode{strstreambuf(s, n, s + std::strlen(s))}.\footnote{The function signature
@@ -1268,7 +1268,7 @@
12681268
\tcode{(mode \& app) != 0},
12691269
then \tcode{s} shall
12701270
designate the first element of an array of \tcode{n} elements that contains
1271-
an \ntbs whose first element is designated by \tcode{s}.
1271+
an \ntbs{} whose first element is designated by \tcode{s}.
12721272
The constructor is
12731273
\tcode{strstreambuf(s,n,s + std::strlen(s))}.
12741274
\indexlibrary{\idxcode{strstream}!destructor}%

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8671,12 +8671,12 @@
86718671
\tcode{filebuf}
86728672
as required.
86738673
It then opens a file, if possible, whose name is the
8674-
\ntbs \tcode{s}
8674+
\ntbs{} \tcode{s}
86758675
(as if by calling
86768676
\tcode{fopen(s, modstr)}).
86778677
\indextext{NTBS}%
86788678
\indexlibrary{\idxcode{fopen}}%
8679-
The \ntbs \tcode{modstr} is determined from
8679+
The \ntbs{} \tcode{modstr} is determined from
86808680
\tcode{mode \& \~{}ios_base::ate}
86818681
as indicated in Table~\ref{tab:iostreams.file.open.modes}.
86828682
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
@@ -811,47 +811,48 @@
811811

812812
\pnum
813813
The
814-
\term{length} of an \ntbs
814+
\term{length} of an \ntbs{}
815815
is the number of elements that
816816
precede the terminating null character.
817817
\indextext{NTBS}%
818818
An
819-
\term{empty} \ntbs
819+
\term{empty} \ntbs{}
820820
has a length of zero.
821821

822822
\pnum
823823
The
824-
\term{value} of an \ntbs
824+
\term{value} of an \ntbs{}
825825
is the sequence of values of the
826826
elements up to and including the terminating null character.
827827
\indextext{NTBS}%
828828

829829
\pnum
830830
A
831831
\indextext{NTBS}%
832-
\defnx{static}{NTBS!static} \ntbs
833-
is an \ntbs with
832+
\defnx{static}{NTBS!static} \ntbs{}
833+
is an \ntbs{} with
834834
static storage duration.\footnote{A string literal, such as
835835
\tcode{"abc"},
836-
is a static \ntbs.}
836+
is a static \ntbs{}.}
837837

838838
\rSec5[multibyte.strings]{Multibyte strings}
839839

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

851852
\pnum
852853
A
853-
\defnx{static}{NTMBS!static} \ntmbs
854-
is an \ntmbs with static storage duration.
854+
\defnx{static}{NTMBS!static} \ntmbs{}
855+
is an \ntmbs{} with static storage duration.
855856
\indextext{NTMBS}%
856857

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

source/support.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@
25652565
\begin{itemdescr}
25662566
\pnum
25672567
\returns
2568-
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs.
2568+
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs{}.
25692569

25702570
\pnum
25712571
\remarks
@@ -2611,7 +2611,7 @@
26112611
\begin{itemdescr}
26122612
\pnum
26132613
\returns
2614-
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs.
2614+
An \impldef{return value of \tcode{bad_array_new_length::what}} \ntbs{}.
26152615

26162616
\pnum
26172617
\remarks
@@ -2927,7 +2927,7 @@
29272927
\begin{itemdescr}
29282928
\pnum
29292929
\returns
2930-
An \impldef{return value of \tcode{type_info::name()}} \ntbs.
2930+
An \impldef{return value of \tcode{type_info::name()}} \ntbs{}.
29312931

29322932
\pnum
29332933
\remarks
@@ -2994,7 +2994,7 @@
29942994
\begin{itemdescr}
29952995
\pnum
29962996
\returns
2997-
An \impldef{return value of \tcode{bad_cast::what}} \ntbs.
2997+
An \impldef{return value of \tcode{bad_cast::what}} \ntbs{}.
29982998

29992999
\pnum
30003000
\remarks
@@ -3061,7 +3061,7 @@
30613061
\begin{itemdescr}
30623062
\pnum
30633063
\returns
3064-
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs.
3064+
An \impldef{return value of \tcode{bad_typeid::what}} \ntbs{}.
30653065

30663066
\pnum
30673067
\remarks
@@ -3188,7 +3188,7 @@
31883188
\begin{itemdescr}
31893189
\pnum
31903190
\returns
3191-
An \impldef{return value of \tcode{exception::what}} \ntbs.
3191+
An \impldef{return value of \tcode{exception::what}} \ntbs{}.
31923192

31933193
\pnum
31943194
\remarks
@@ -3257,7 +3257,7 @@
32573257
\begin{itemdescr}
32583258
\pnum
32593259
\returns
3260-
An \impldef{return value of \tcode{bad_exception::what}} \ntbs.
3260+
An \impldef{return value of \tcode{bad_exception::what}} \ntbs{}.
32613261

32623262
\pnum
32633263
\remarks

source/threads.tex

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

37603760
\begin{itemdescr}
37613761
\pnum
3762-
\returns An \ntbs incorporating \tcode{code().message()}.
3762+
\returns An \ntbs{} incorporating \tcode{code().message()}.
37633763
\end{itemdescr}
37643764

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

source/utilities.tex

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

31423142
\rSec2[optional.relops]{Relational operators}
@@ -4955,7 +4955,7 @@
49554955

49564956
\begin{itemdescr}
49574957
\pnum
4958-
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs.
4958+
\returns An \impldef{return value of \tcode{bad_variant_access::what}} \ntbs{}.
49594959
\end{itemdescr}
49604960

49614961
\rSec2[variant.hash]{Hash support}
@@ -5050,7 +5050,7 @@
50505050

50515051
\begin{itemdescr}
50525052
\pnum
5053-
\returns An \impldef{return value of \tcode{bad_any_cast::what}} \ntbs.
5053+
\returns An \impldef{return value of \tcode{bad_any_cast::what}} \ntbs{}.
50545054

50555055
\pnum
50565056
\remarks
@@ -9073,7 +9073,7 @@
90739073

90749074
\begin{itemdescr}
90759075
\pnum\postconditions \tcode{what()} returns an
9076-
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs.
9076+
\impldef{return value of \tcode{bad_weak_ptr::what}} \ntbs{}.
90779077

90789078
\end{itemdescr}
90799079

@@ -14529,7 +14529,7 @@
1452914529

1453014530
\begin{itemdescr}
1453114531
\pnum\postconditions \tcode{what()} returns an
14532-
\impldef{return value of \tcode{bad_function_call::what}} \ntbs.
14532+
\impldef{return value of \tcode{bad_function_call::what}} \ntbs{}.
1453314533
\end{itemdescr}
1453414534

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

0 commit comments

Comments
 (0)