Vaucanson  1.4.1
initial_container.hh
1 // initial_container.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2007, 2008 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 
18 #ifndef VCSN_AUTOMATA_IMPLEMENTATION_BMIG_INITIAL_CONTAINER_HH_
19 # define VCSN_AUTOMATA_IMPLEMENTATION_BMIG_INITIAL_CONTAINER_HH_
20 
21 # include <boost/multi_index_container.hpp>
22 # include <boost/multi_index/member.hpp>
23 # include <boost/multi_index/ordered_index.hpp>
24 # include <boost/multi_index/hashed_index.hpp>
25 # include <boost/functional/hash/hash.hpp>
26 # include <boost/multi_index/sequenced_index.hpp>
27 # include <boost/tuple/tuple.hpp>
28 # include <boost/multi_index/composite_key.hpp>
29 
30 namespace vcsn
31 {
32  namespace bmig
33  {
34 
40  template <typename U, typename HState>
42  {
43 
44  typedef boost::multi_index_container
45  <
46  U,
47  boost::multi_index::indexed_by
48  <
49  boost::multi_index::ordered_non_unique<
50  BOOST_MULTI_INDEX_MEMBER(U, HState, first)
51  >
52  >
53  > Type;
54  };
55 
56  } //bmig
57 } //vcsn
58 
59 #endif // ! VCSN_AUTOMATA_IMPLEMENTATION_BMIG_INITIAL_CONTAINER_HH_
60