libycxx

class template specialization

std::char_traits<char8_t>

Header
<bitset> also in <chrono>, <cstring>, <cuchar>, <cwchar>, <cwctype> and 32 more
Scope
std
cppreference
<bitset> nearest page

Synopsis

template<>
struct char_traits<char8_t>;

Member types

NameDeclaration
char_typetype alias · member type= char8_t
comparison_categorytype alias · member type= std::strong_ordering
int_typetype alias · member type= unsigned int
off_typetype alias · member type= std::streamoff
pos_typetype alias · member type= std::fpos<mbstate_t>
state_typetype alias · member type= mbstate_t

Static member functions

NameDeclaration
assignstatic member function · 2 overloadsvoid assign(char_type& c1, const char_type& c2) +1 more
comparestatic member functionint compare(const char_type* s1, const char_type* s2, size_t n)
copystatic member functionchar_type* copy(char_type* s1, const char_type* s2, size_t n)
eofstatic member functionint_type eof()
eqstatic member functionbool eq(char_type c1, char_type c2)
eq_int_typestatic member functionbool eq_int_type(int_type c1, int_type c2)
findstatic member functionconst char_type* find(const char_type* s, size_t n, const char_type& a)
lengthstatic member functionsize_t length(const char_type* s)
ltstatic member functionbool lt(char_type c1, char_type c2)
movestatic member functionchar_type* move(char_type* s1, const char_type* s2, size_t n)
not_eofstatic member functionint_type not_eof(int_type c)
to_char_typestatic member functionchar_type to_char_type(int_type c)
to_int_typestatic member functionint_type to_int_type(char_type c)