Struct CiCharTraits

Inheritance Relationships

Base Type

  • public std::char_traits< char >

Struct Documentation

struct CiCharTraits : public std::char_traits<char>

Case insensitive char traits. Identical to std::char_traits<char> except that CiCharTraits treats comparisons as case insensitive

Public Types

using char_type = std::char_traits<char>::char_type
using pos_type = std::char_traits<char>::pos_type
using int_type = std::char_traits<char>::int_type
using off_type = std::char_traits<char>::off_type
using state_type = std::char_traits<char>::state_type
using comparison_category = std::char_traits<char>::comparison_category

Public Static Functions

static inline bool eq(char_type const c1, char_type const c2) noexcept
static inline bool ne(char_type const c1, char_type const c2) noexcept
static inline bool lt(char_type const c1, char_type const c2) noexcept
static inline int compare(char_type const *s1, char_type const *s2, size_t const len) noexcept
static inline char_type const *find(char_type const *s, size_t const len, char const needle) noexcept