20
Strings library
[strings]
20.2
Character traits
[char.traits]
20.2.2
Traits typedefs
[char.traits.typedefs]
🔗
using
int_type
=
see below
;
1
#
Expects:
int_type
shall be able to represent all of the valid characters converted from the corresponding
char_type
values, as well as an end-of-file value,
eof
(
)
.
224
🔗
using
state_type
=
see below
;
2
#
Requires:
state_type
shall meet the
Cpp17Destructible
(Table
30
),
Cpp17CopyAssignable
(Table
29
),
Cpp17CopyConstructible
(Table
27
), and
Cpp17DefaultConstructible
(Table
25
) requirements
.
224)
If
eof
(
)
can be held in
char_type
then some iostreams operations can give surprising results
.