get_result.hpp 645 B

1234567891011121314151617181920212223242526272829
  1. #ifndef BOOST_METAPARSE_V1_GET_RESULT_HPP
  2. #define BOOST_METAPARSE_V1_GET_RESULT_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2011.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/metaparse/v1/fwd/get_result.hpp>
  8. namespace boost
  9. {
  10. namespace metaparse
  11. {
  12. namespace v1
  13. {
  14. template <class>
  15. struct get_result_impl;
  16. template <class T>
  17. struct get_result :
  18. get_result_impl<typename T::type::tag>::template apply<typename T::type>
  19. {};
  20. }
  21. }
  22. }
  23. #endif