is_none_c.hpp 722 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_IS_NONE_C_HPP
  2. #define BOOST_METAPARSE_V1_CPP11_IMPL_IS_NONE_C_HPP
  3. // Copyright Abel Sinkovics ([email protected]) 2017.
  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/cpp11/impl/is_none_c_impl.hpp>
  8. namespace boost
  9. {
  10. namespace metaparse
  11. {
  12. namespace v1
  13. {
  14. namespace impl
  15. {
  16. template <char... Cs>
  17. struct is_none_c
  18. {
  19. typedef is_none_c type;
  20. template <class C>
  21. struct apply : is_none_c_impl<C::type::value, Cs...> {};
  22. };
  23. }
  24. }
  25. }
  26. }
  27. #endif