MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
my_char_traits< unsigned char > Struct Reference

#include <my_char_traits.h>

Public Types

using char_type = unsigned char
 
using int_type = unsigned int
 
using off_type = std::streamoff
 
using pos_type = std::streampos
 
using standards = std::mbstate_t
 
using comparison_category = std::strong_ordering
 

Static Public Member Functions

static constexpr void assign (char_type &c1, const char_type &c2) noexcept
 
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, std::size_t n) noexcept
 
static size_t length (const char_type *s) noexcept
 
static const char_typefind (const char_type *s, size_t n, const char_type &a) noexcept
 
static char_typemove (char_type *s1, const char_type *s2, std::size_t n) noexcept
 
static char_typecopy (char_type *s1, const char_type *s2, std::size_t n) noexcept
 
static char_typeassign (char_type *s, std::size_t n, char_type a) noexcept
 
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 my_char_traits< unsigned char >::char_type = unsigned char

◆ comparison_category

using my_char_traits< unsigned char >::comparison_category = std::strong_ordering

◆ int_type

using my_char_traits< unsigned char >::int_type = unsigned int

◆ off_type

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

◆ pos_type

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

◆ standards

using my_char_traits< unsigned char >::standards = std::mbstate_t

Member Function Documentation

◆ assign() [1/2]

static constexpr void my_char_traits< unsigned char >::assign ( char_type c1,
const char_type c2 
)
inlinestaticconstexprnoexcept

◆ assign() [2/2]

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

◆ compare()

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

◆ copy()

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

◆ eof()

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

◆ eq()

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

◆ eq_int_type()

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

◆ find()

static const char_type * my_char_traits< unsigned char >::find ( const char_type s,
size_t  n,
const char_type a 
)
inlinestaticnoexcept

◆ length()

static size_t my_char_traits< unsigned char >::length ( const char_type s)
inlinestaticnoexcept

◆ lt()

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

◆ move()

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

◆ not_eof()

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

◆ to_char_type()

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

◆ to_int_type()

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

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