Lines Matching defs:char_traits
39 struct char_traits { struct
40 using char_type = CharT;
41 using int_type = int;
42 using off_type = std::streamoff;
43 using pos_type = std::streampos;
44 using state_type = std::mbstate_t;
45 using comparison_category = Ordering;
47 static constexpr void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } in assign()
48 static constexpr bool eq(char_type __c1, char_type __c2) noexcept { return __c1 == __c2; } in eq()
49 static constexpr bool lt(char_type __c1, char_type __c2) noexcept { return __c1 < __c2; } in lt()
50 static constexpr int compare(const char_type* __s1, const char_type* __s2, std::size_t __n) { in compare()
65 …onstexpr int_type not_eof(int_type __c) noexcept { return eq_int_type(__c, eof()) ? ~eof() : __c; } in not_eof()
66 static constexpr char_type to_char_type(int_type __c) noexcept { return char_type(__c); } in to_char_type()
67 static constexpr int_type to_int_type(char_type __c) noexcept { return int_type(__c); } in to_int_type()
68 static constexpr bool eq_int_type(int_type __c1, int_type __c2) noexcept { return __c1 == __c2; } in eq_int_type()
69 static constexpr int_type eof() noexcept { return int_type(EOF); } in eof()