23
Strings library
[strings]
23.2
Character traits
[char.traits]
23.2.4
char_
traits
specializations
[char.traits.specializations]
23.2.4.1
General
[char.traits.specializations.general]
🔗
namespace
std
{
template
<
>
struct
char_traits
<
char
>
;
template
<
>
struct
char_traits
<
char8_t
>
;
template
<
>
struct
char_traits
<
char16_t
>
;
template
<
>
struct
char_traits
<
char32_t
>
;
template
<
>
struct
char_traits
<
wchar_t
>
;
}
1
#
The header
<string>
defines five specializations of the class template
char_
traits
:
char_
traits
<
char
>
,
char_
traits
<
char8_
t
>
,
char_
traits
<
char16_
t
>
,
char_
traits
<
char32_
t
>
, and
char_
traits
<
wchar_
t
>
.