Standard C++ Library Reference ISO/IEC (VERSION3)
char_traits::eof
static int_type eof();
The static member function returns a value that represents end-of-file (such as EOF or WEOF). If
the value is also representable as type Elem, it must correspond to no valid value of that type.
char_traits::eq
static bool eq(const char_type& left, const char_type& right);
The static member function returns true if left compares equal to right.
char_traits::eq_int_type
static bool eq_int_type(const int_type& left,
const int_type& right);
The static member function returns true if left compares equal to right.
char_traits::find
static const char_type *find(const char_type *first,
size_t count, const char_type& ch);
The static member function determines the lowest N in the range [0, count) for which
eq(first[N], ch) is true. If successful, it returns first + N. Otherwise, it returns a null
pointer.
char_traits::int_type
typedef T1 int_type;
The type is (typically) an integer type T1 that describes an object that can represent any element
of the controlled sequence as well as the value returned by eof().
char_traits::length
static size_t length(const char_type *first);
The static member function returns the number of elements N in the sequence beginning at first
up to but not including the element first[N] which compares equal to char_type().
char_traits::lt
static bool lt(const char_type& left, const char_type& right);
The static member function returns true if left compares less than right.