Line | |
---|
1 | /*============================================================================= |
---|
2 | Boost.Wave: A Standard compliant C++ preprocessor library |
---|
3 | |
---|
4 | http://www.boost.org/ |
---|
5 | |
---|
6 | Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost |
---|
7 | Software License, Version 1.0. (See accompanying file |
---|
8 | LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
9 | =============================================================================*/ |
---|
10 | |
---|
11 | #if !defined(SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED) |
---|
12 | #define SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED |
---|
13 | |
---|
14 | #include <map> |
---|
15 | |
---|
16 | /////////////////////////////////////////////////////////////////////////////// |
---|
17 | namespace boost { |
---|
18 | namespace wave { |
---|
19 | namespace util { |
---|
20 | |
---|
21 | /////////////////////////////////////////////////////////////////////////////// |
---|
22 | // |
---|
23 | // The symbol_table class is used for the storage of defined macros. |
---|
24 | // |
---|
25 | /////////////////////////////////////////////////////////////////////////////// |
---|
26 | |
---|
27 | template <typename StringT, typename MacroDefT> |
---|
28 | struct symbol_table |
---|
29 | : public std::map<StringT, boost::shared_ptr<MacroDefT> > |
---|
30 | { |
---|
31 | symbol_table(long uid_) |
---|
32 | {} |
---|
33 | }; |
---|
34 | |
---|
35 | /////////////////////////////////////////////////////////////////////////////// |
---|
36 | } // namespace util |
---|
37 | } // namespace wave |
---|
38 | } // namespace boost |
---|
39 | |
---|
40 | #endif // !defined(SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED) |
---|
Note: See
TracBrowser
for help on using the repository browser.