char_traits Struct Template Reference
[Miscellaneous constructs used by Vaucanson]

Generic char_traits. More...

Inheritance diagram for char_traits:

Inheritance graph
[legend]
List of all members.

Public Types

typedef CharT char_type
typedef generic_int_type<
char_type
int_type
typedef std::streamoff off_type
typedef std::streampos pos_type
typedef mbstate_t state_type

Static Public Member Functions

static void assign (char_type &, const char_type &)
static bool eq (const char_type &, const char_type &)
static bool lt (const char_type &, const char_type &)
static int compare (const char_type *, const char_type *, size_t)
static size_t length (const char_type *)
static const char_typefind (const char_type *, size_t, const char_type &)
static char_typemove (char_type *, const char_type *, size_t)
static char_typecopy (char_type *, const char_type *, size_t)
static char_typeassign (char_type *, size_t, char_type)
static int_type not_eof (const int_type &)
static char_type to_char_type (const int_type &)
static int_type to_int_type (const char_type &)
static bool eq_int_type (const int_type &, const int_type &)
static int_type eof ()

Detailed Description

template<typename CharT>
struct vcsn::misc::char_traits< CharT >

Generic char_traits.

Provides generic char_traits to specialize std::char_traits with minimal efforts. So it should be possible to use std::basic_string with almost any type.

Definition at line 89 of file char_traits.hh.


Generated on Sat Jul 29 17:32:25 2006 for Vaucanson by  doxygen 1.4.6