cpp_tokens.hpp 1.6 KB

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