17 #ifndef VCSN_MISC_CHAR_TRAITS_HH
18 # define VCSN_MISC_CHAR_TRAITS_HH
64 template <
class CharT>
67 typedef CharT char_type;
72 operator CharT ()
const;
88 template <
typename CharT>
91 typedef CharT char_type;
93 typedef std::streamoff off_type;
94 typedef std::streampos pos_type;
95 typedef mbstate_t state_type;
97 static void assign (char_type&,
const char_type&);
98 static bool eq (
const char_type&,
const char_type&);
99 static bool lt (
const char_type&,
const char_type&);
100 static int compare (
const char_type*,
103 static size_t length (
const char_type*);
104 static const char_type* find (
const char_type*,
107 static char_type* move (char_type*,
const char_type*,
size_t);
108 static char_type* copy (char_type*,
const char_type*,
size_t);
109 static char_type* assign (char_type*,
size_t, char_type);
111 static char_type to_char_type (
const int_type&);
112 static int_type to_int_type (
const char_type&);
122 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
123 # include <vaucanson/misc/char_traits.hxx>
124 # endif // VCSN_USE_INTERFACE_ONLY
126 #endif // ! VCSN_MISC_CHAR_TRAITS_HH