/Src/Dependencies/Boost/boost/spirit/home/classic/error_handling/typeof.hpp

http://hadesmem.googlecode.com/ · C++ Header · 33 lines · 13 code · 12 blank · 8 comment · 0 complexity · cddd3737561acaddb203c63aed396320 MD5 · raw file

  1. /*=============================================================================
  2. Copyright (c) 2006 Tobias Schwinger
  3. http://spirit.sourceforge.net/
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. =============================================================================*/
  7. #if !defined(BOOST_SPIRIT_ERROR_HANDLING_TYPEOF_HPP)
  8. #define BOOST_SPIRIT_ERROR_HANDLING_TYPEOF_HPP
  9. #include <boost/typeof/typeof.hpp>
  10. #include <boost/spirit/home/classic/core/typeof.hpp>
  11. #include <boost/spirit/home/classic/error_handling/exceptions_fwd.hpp>
  12. #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
  13. // exceptions.hpp (has forward header)
  14. BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::parser_error,2)
  15. BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::assertive_parser,2)
  16. BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::error_status,1)
  17. BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::fallback_parser,3)
  18. BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::guard,1)
  19. BOOST_TYPEOF_REGISTER_TYPE(BOOST_SPIRIT_CLASSIC_NS::error_status<>)
  20. #endif