45 struct char_traits<
selftests::string_view::capacity_1::A<
46 selftests::string_view::capacity_1::B> >
48 typedef selftests::string_view::capacity_1::A<
62 {
return __c1 == __c2; }
66 {
return __c1 < __c2; }
71 for (
size_t __i = 0; __i < __n; ++__i)
72 if (!eq(__s1[__i], __s2[__i]))
73 return lt(__s1[__i], __s2[__i]) ? -1 : 1;
86 static const char_type*
89 for (
const char_type* __p = __s; size_t(__p - __s) < __n; ++__p)
90 if (*__p == __a)
return __p;
105 for (
char_type* __p = __s; __p < __s + __n; ++__p)
119 {
return __c1 == __c2; }
126 {
return eq_int_type(__c, eof()) ?
int_type(0) : __c; }
137 gdb::basic_string_view<A<B>> str02;
138 typedef gdb::basic_string_view< A<B> >::size_type size_type_o;
143 bool b01 = str02.empty();
146 sz04 = str02.length();
150 sz04 = str02.length();
153 sz03 = str02.max_size();
std::basic_string_view< char, constexpr_char_traits > string_view
bool operator==(const A< T > &, const A< T > &)
bool operator<(const A< T > &, const A< T > &)
selftests::string_view::capacity_1::A< selftests::string_view::capacity_1::B > char_type
static int_type to_int_type(const char_type &)
static const char_type * find(const char_type *__s, size_t __n, const char_type &__a)
static int_type not_eof(const int_type &__c)
static bool lt(const char_type &__c1, const char_type &__c2)
static char_type * copy(char_type *__s1, const char_type *__s2, size_t __n)
static char_type * move(char_type *__s1, const char_type *__s2, size_t __n)
static char_type * assign(char_type *__s, size_t __n, char_type __a)
static size_t length(const char_type *__s)
static int compare(const char_type *__s1, const char_type *__s2, size_t __n)
static bool eq_int_type(const int_type &__c1, const int_type &__c2)
static void assign(char_type &__c1, const char_type &__c2)
static bool eq(const char_type &__c1, const char_type &__c2)
static char_type to_char_type(const int_type &)