TARAXA
Loading...
Searching...
No Matches
std::char_traits< unsigned char > Struct Reference

#include <char_traits.hpp>

Public Types

using char_type = unsigned char
 
using int_type = int
 
using off_type = streamoff
 
using pos_type = streampos
 
using state_type = mbstate_t
 

Static Public Member Functions

static void assign (char_type &c1, const char_type &c2)
 
static constexpr bool eq (char_type c1, char_type c2) noexcept
 
static constexpr bool lt (char_type c1, char_type c2) noexcept
 
static int compare (const char_type *s1, const char_type *s2, size_t n)
 
static size_t length (const char_type *s)
 
static const char_typefind (const char_type *s, size_t n, const char_type &a)
 
static char_typemove (char_type *s1, const char_type *s2, size_t n)
 
static char_typecopy (char_type *s1, const char_type *s2, size_t n)
 
static char_typeassign (char_type *s, size_t n, char_type a)
 
static constexpr int_type not_eof (int_type c) noexcept
 
static constexpr char_type to_char_type (int_type c) noexcept
 
static constexpr int_type to_int_type (char_type c) noexcept
 
static constexpr bool eq_int_type (int_type c1, int_type c2) noexcept
 
static constexpr int_type eof () noexcept
 

Member Typedef Documentation

◆ char_type

using std::char_traits< unsigned char >::char_type = unsigned char

◆ int_type

using std::char_traits< unsigned char >::int_type = int

◆ off_type

using std::char_traits< unsigned char >::off_type = streamoff

◆ pos_type

using std::char_traits< unsigned char >::pos_type = streampos

◆ state_type

using std::char_traits< unsigned char >::state_type = mbstate_t

Member Function Documentation

◆ assign() [1/2]

static void std::char_traits< unsigned char >::assign ( char_type c1,
const char_type c2 
)
inlinestatic

◆ assign() [2/2]

static char_type * std::char_traits< unsigned char >::assign ( char_type s,
size_t  n,
char_type  a 
)
inlinestatic

◆ compare()

static int std::char_traits< unsigned char >::compare ( const char_type s1,
const char_type s2,
size_t  n 
)
inlinestatic

◆ copy()

static char_type * std::char_traits< unsigned char >::copy ( char_type s1,
const char_type s2,
size_t  n 
)
inlinestatic

◆ eof()

static constexpr int_type std::char_traits< unsigned char >::eof ( )
inlinestaticconstexprnoexcept

◆ eq()

static constexpr bool std::char_traits< unsigned char >::eq ( char_type  c1,
char_type  c2 
)
inlinestaticconstexprnoexcept

◆ eq_int_type()

static constexpr bool std::char_traits< unsigned char >::eq_int_type ( int_type  c1,
int_type  c2 
)
inlinestaticconstexprnoexcept

◆ find()

static const char_type * std::char_traits< unsigned char >::find ( const char_type s,
size_t  n,
const char_type a 
)
inlinestatic

◆ length()

static size_t std::char_traits< unsigned char >::length ( const char_type s)
inlinestatic

◆ lt()

static constexpr bool std::char_traits< unsigned char >::lt ( char_type  c1,
char_type  c2 
)
inlinestaticconstexprnoexcept

◆ move()

static char_type * std::char_traits< unsigned char >::move ( char_type s1,
const char_type s2,
size_t  n 
)
inlinestatic

◆ not_eof()

static constexpr int_type std::char_traits< unsigned char >::not_eof ( int_type  c)
inlinestaticconstexprnoexcept

◆ to_char_type()

static constexpr char_type std::char_traits< unsigned char >::to_char_type ( int_type  c)
inlinestaticconstexprnoexcept

◆ to_int_type()

static constexpr int_type std::char_traits< unsigned char >::to_int_type ( char_type  c)
inlinestaticconstexprnoexcept

The documentation for this struct was generated from the following file: