17 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_LETTER_INT_LETTER_HXX
18 # define VCSN_ALGEBRA_IMPLEMENTATION_LETTER_INT_LETTER_HXX
25 # include <vaucanson/algebra/implementation/letter/int_letter.hh>
32 struct letter_traits<int>
35 typedef misc::false_t is_char_letter;
45 typedef undefined_type first_projection_t;
46 typedef undefined_type second_projection_t;
50 literal_to_letter(
const std::string& str)
52 std::stringstream sstr(str);
57 return std::make_pair(
false, 0);
63 sstr >> std::noskipws >> ret;
67 return std::make_pair(
false, 0);
69 return std::make_pair(
true, ret);
74 letter_to_literal(
const int& c)
76 std::stringstream sstr;
82 static std::string kind() {
return "simple"; }
83 static int dim() {
return 1; }
91 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_LETTER_INT_LETTER_HXX