• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Boost.Wave: A Standard compliant C++ preprocessor library
3 
4     Sample: Print out the preprocessed tokens returned by the Wave iterator
5 
6     This sample shows, how it is possible to use a custom lexer object and a
7     custom token type with the Wave library.
8 
9     http://www.boost.org/
10 
11     Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
12     Software License, Version 1.0. (See accompanying file
13     LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
14 =============================================================================*/
15 
16 #if !defined(BOOST_CPP_TOKENS_HPP_D6A31137_CE14_4869_9779_6357E2C43187_INCLUDED)
17 #define BOOST_CPP_TOKENS_HPP_D6A31137_CE14_4869_9779_6357E2C43187_INCLUDED
18 
19 ///////////////////////////////////////////////////////////////////////////////
20 //  include often used files from the stdlib
21 #include <iosfwd>
22 #include <fstream>
23 #include <string>
24 
25 ///////////////////////////////////////////////////////////////////////////////
26 //  include boost config
27 #include <boost/config.hpp>     //  global configuration information
28 
29 ///////////////////////////////////////////////////////////////////////////////
30 //  configure this app here (global configuration constants)
31 #include "cpp_tokens_config.hpp"
32 
33 ///////////////////////////////////////////////////////////////////////////////
34 //  include required boost libraries
35 #include <boost/assert.hpp>
36 #include <boost/pool/pool_alloc.hpp>
37 
38 #endif // !defined(BOOST_CPP_TOKENS_HPP_D6A31137_CE14_4869_9779_6357E2C43187_INCLUDED)
39