Vaucanson  1.4.1
alphabets.hh
1 // alphabets.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2001, 2002, 2003, 2004, 2005 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABETS_HH
18 # define VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABETS_HH
19 
20 # include <set>
21 # include <utility>
22 
24 
25 namespace vcsn
26 {
27  namespace algebra
28  {
32  /*---------------.
33  | AlphabetSet<L> |
34  `---------------*/
35 
37  template <typename L>
38  struct AlphabetSet
39  : AlphabetSetBase<AlphabetSet<L> >
40  {
42  typedef L letter_t;
43  };
44 
48  } // algebra
49 
53  /*------------------------------.
54  | dynamic_traits<AlphabetSet<L> |
55  `------------------------------*/
56 
58  template<typename L>
59  struct dynamic_traits<algebra::AlphabetSet<L> >
60  : dynamic_traits<algebra::AlphabetSetBase<L> >
61  { };
62 
66 } // ! vcsn
67 
68 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABETS_HH