always_c.hpp 566 B

12345678910111213141516171819202122232425
  1. #ifndef BOOST_METAPARSE_V1_ALWAYS_C_HPP
  2. #define BOOST_METAPARSE_V1_ALWAYS_C_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
  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/always.hpp>
  8. #include <boost/metaparse/v1/lit_c.hpp>
  9. namespace boost
  10. {
  11. namespace metaparse
  12. {
  13. namespace v1
  14. {
  15. template <char C, class Result>
  16. struct always_c : always<lit_c<C>, Result> {};
  17. }
  18. }
  19. }
  20. #endif