17 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_LETTER_CHAR_LETTER_HXX
18 # define VCSN_ALGEBRA_IMPLEMENTATION_LETTER_CHAR_LETTER_HXX
23 # include <vaucanson/algebra/implementation/letter/char_letter.hh>
30 struct letter_traits<char>
33 typedef misc::true_t is_char_letter;
45 typedef undefined_type first_projection_t;
46 typedef undefined_type second_projection_t;
49 static char default_joker() {
return '?'; }
50 static char default_other() {
return '#'; }
54 literal_to_letter(
const std::string& str)
58 return std::make_pair(
false, 0);
60 return std::make_pair(
true, str[0]);
65 letter_to_literal(
const char& c)
73 static std::string kind() {
return "simple"; }
74 static int dim() {
return 1; }
82 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_LETTER_CHAR_LETTER_HXX