16
Library introduction
[library]
16.4
Method of description
[description]
16.4.2
Other conventions
[conventions]
16.4.2.2
Type descriptions
[type.descriptions]
16.4.2.2.5
Character sequences
[character.seq]
16.4.2.2.5.1
Byte strings
[byte.strings]
1
#
A
null-terminated byte string
, or
ntbs
, is a character sequence whose highest-addressed element with defined content has the value zero (the
terminating null character
); no other element in the sequence has the value zero
.
159
2
#
The
length of an
ntbs
is the number of elements that precede the terminating null character
.
An
empty
ntbs
has a length of zero
.
3
#
The
value of an
ntbs
is the sequence of values of the elements up to and including the terminating null character
.
4
#
A
static
ntbs
is an
ntbs
with static storage duration
.
160
159)
Many of the objects manipulated by function signatures declared in
<
cstring
>
(
[cstring.syn]
) are character sequences or
ntbs
s
.
The size of some of these character sequences is limited by a length value, maintained separately from the character sequence
.
⮥
160)
A
string-literal
, such as
"abc"
, is a static
ntbs
.
⮥