84 operator<(
const character<_Value, _Int, _St>& lhs,
100 typedef typename char_type::int_type int_type;
101 typedef typename char_type::state_type state_type;
111 {
return __c1 == __c2; }
115 {
return __c1 < __c2; }
120 for (
size_t __i = 0; __i < __n; ++__i)
121 if (!eq(__s1[__i], __s2[__i]))
122 return lt(__s1[__i], __s2[__i]) ? -1 : 1;
138 for (
const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
150 (__builtin_memmove(__s1, __s2, __n *
sizeof(
char_type)));
158 std::copy(__s2, __s2 + __n, __s1);
165 std::fill_n(__s, __n, __a);
170 to_char_type(
const int_type& __i)
171 {
return char_type::template from(__i); }
175 {
return char_type::template to<int_type>(__c); }
178 eq_int_type(
const int_type& __c1,
const int_type& __c2)
179 {
return __c1 == __c2; }
184 int_type __r = {
static_cast<typename __gnu_cxx::__conditional_type
185 <std::__is_integer<int_type>::__value,
186 int_type,
int>::__type>(-1) };
191 not_eof(
const int_type& __c)
192 {
return eq_int_type(__c, eof()) ? int_type() : __c; }