libstdc++: std::char_traits< char > Struct Reference (original) (raw)
#include <[char_traits.h](a00356%5Fsource.html)>
Static Public Member Functions |
|
static constexpr void |
assign (char_type &__c1, const char_type &__c2) noexcept |
|
|
static constexpr char_type * |
assign (char_type *__s, size_t __n, char_type __a) |
|
|
static constexpr int |
compare (const char_type *__s1, const char_type *__s2, size_t __n) |
|
|
static constexpr char_type * |
copy (char_type *__s1, const char_type *__s2, size_t __n) |
|
|
static constexpr bool |
eq (const char_type &__c1, const char_type &__c2) noexcept |
|
|
static constexpr bool |
eq_int_type (const int_type &__c1, const int_type &__c2) noexcept |
|
|
static constexpr const char_type * |
find (const char_type *__s, size_t __n, const char_type &__a) |
|
|
static constexpr size_t |
length (const char_type *__s) |
|
|
static constexpr bool |
lt (const char_type &__c1, const char_type &__c2) noexcept |
|
|
static constexpr char_type * |
move (char_type *__s1, const char_type *__s2, size_t __n) |
|
|
static constexpr char_type |
to_char_type (const int_type &__c) noexcept |
|
|
static constexpr int_type |
to_int_type (const char_type &__c) noexcept |
|
|
21.1.3.1 char_traits specializations
Definition at line 329 of file char_traits.h.
◆ char_type
◆ comparison_category
◆ int_type
◆ off_type
◆ pos_type
◆ state_type
◆ assign() [1/2]
static constexpr void std::char_traits< char >::assign ( char_type & __c1, const char_type & __c2 ) |
inlinestaticconstexprnoexcept |
◆ assign() [2/2]
static constexpr char_type * std::char_traits< char >::assign ( char_type * __s, size_t __n, char_type __a ) |
inlinestaticconstexpr |
◆ compare()
static constexpr int std::char_traits< char >::compare ( const char_type * __s1, const char_type * __s2, size_t __n ) |
inlinestaticconstexpr |
◆ copy()
static constexpr char_type * std::char_traits< char >::copy ( char_type * __s1, const char_type * __s2, size_t __n ) |
inlinestaticconstexpr |
◆ eq()
static constexpr bool std::char_traits< char >::eq ( const char_type & __c1, const char_type & __c2 ) |
inlinestaticconstexprnoexcept |
◆ eq_int_type()
static constexpr bool std::char_traits< char >::eq_int_type ( const int_type & __c1, const int_type & __c2 ) |
inlinestaticconstexprnoexcept |
◆ find()
static constexpr const char_type * std::char_traits< char >::find ( const char_type * __s, size_t __n, const char_type & __a ) |
inlinestaticconstexpr |
◆ length()
static constexpr size_t std::char_traits< char >::length ( const char_type * __s) |
inlinestaticconstexpr |
◆ lt()
static constexpr bool std::char_traits< char >::lt ( const char_type & __c1, const char_type & __c2 ) |
inlinestaticconstexprnoexcept |
◆ move()
static constexpr char_type * std::char_traits< char >::move ( char_type * __s1, const char_type * __s2, size_t __n ) |
inlinestaticconstexpr |
◆ to_char_type()
static constexpr char_type std::char_traits< char >::to_char_type ( const int_type & __c) |
inlinestaticconstexprnoexcept |
◆ to_int_type()
static constexpr int_type std::char_traits< char >::to_int_type ( const char_type & __c) |
inlinestaticconstexprnoexcept |
The documentation for this struct was generated from the following file: