get_message.hpp 644 B

1234567891011121314151617181920212223242526272829
  1. #ifndef BOOST_METAPARSE_V1_GET_MESSAGE_HPP
  2. #define BOOST_METAPARSE_V1_GET_MESSAGE_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
  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_message.hpp>
  8. namespace boost
  9. {
  10. namespace metaparse
  11. {
  12. namespace v1
  13. {
  14. template <class>
  15. struct get_message_impl;
  16. template <class T>
  17. struct get_message : get_message_impl<typename T::type::tag>::template apply<typename T::type>
  18. {};
  19. }
  20. }
  21. }
  22. #endif