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 6 #define BOOST_TEST_MODULE empty_string 7 8 #include <boost/metaparse/config.hpp> 9 #if BOOST_METAPARSE_STD >= 2011 10 # include <boost/metaparse/v1/cpp11/impl/empty_string.hpp> 11 #else 12 # include <boost/metaparse/v1/cpp98/impl/empty_string.hpp> 13 #endif 14 15 #include <boost/test/unit_test.hpp> 16 17 #include <string> 18 BOOST_AUTO_TEST_CASE(test_empty_string)19BOOST_AUTO_TEST_CASE(test_empty_string) 20 { 21 using boost::metaparse::v1::impl::empty_string; 22 using std::string; 23 24 // test_value 25 BOOST_REQUIRE_EQUAL(string(), empty_string<>::value); 26 } 27 28