token_statistics.hpp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*=============================================================================
  2. Boost.Wave: A Standard compliant C++ preprocessor library
  3. Sample: Collect token statistics from the analysed files
  4. http://www.boost.org/
  5. Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost
  6. Software License, Version 1.0. (See accompanying file
  7. LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  8. =============================================================================*/
  9. #if !defined(TOKEN_STATISTICS_HPP)
  10. #define TOKEN_STATISTICS_HPP
  11. ///////////////////////////////////////////////////////////////////////////////
  12. // include often used files from the stdlib
  13. #include <iostream>
  14. #include <fstream>
  15. #include <string>
  16. #include <vector>
  17. ///////////////////////////////////////////////////////////////////////////////
  18. // include boost config
  19. #include <boost/config.hpp> // global configuration information
  20. #include <boost/assert.hpp>
  21. ///////////////////////////////////////////////////////////////////////////////
  22. // build version
  23. #include "token_statistics_version.hpp"
  24. ///////////////////////////////////////////////////////////////////////////////
  25. // Now include the configuration stuff for the Wave library itself
  26. #include <boost/wave/wave_config.hpp>
  27. ///////////////////////////////////////////////////////////////////////////////
  28. // MSVC specific #pragma's
  29. #if defined(BOOST_MSVC)
  30. #pragma warning (disable: 4355) // 'this' used in base member initializer list
  31. #pragma warning (disable: 4800) // forcing value to bool 'true' or 'false'
  32. #pragma inline_depth(255)
  33. #pragma inline_recursion(on)
  34. #endif // defined(BOOST_MSVC)
  35. ///////////////////////////////////////////////////////////////////////////////
  36. // include required boost libraries
  37. #include <boost/pool/pool_alloc.hpp>
  38. #endif // !defined(TOKEN_STATISTICS_HPP)