string_tag.cpp 569 B

1234567891011121314151617181920212223
  1. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #include <boost/metaparse/string_tag.hpp>
  6. #include <boost/mpl/assert.hpp>
  7. #include <boost/type_traits/is_same.hpp>
  8. #include "test_case.hpp"
  9. BOOST_METAPARSE_TEST_CASE(string_tag)
  10. {
  11. using boost::metaparse::string_tag;
  12. using boost::is_same;
  13. // test_metaprogramming_value
  14. BOOST_MPL_ASSERT((is_same<string_tag, string_tag::type>));
  15. }