]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/test/empty_string.cpp
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)
6 #define BOOST_TEST_MODULE empty_string
8 #include <boost/metaparse/config.hpp>
9 #if BOOST_METAPARSE_STD >= 2011
10 # include <boost/metaparse/v1/cpp11/impl/empty_string.hpp>
12 # include <boost/metaparse/v1/cpp98/impl/empty_string.hpp>
15 #include <boost/test/unit_test.hpp>
19 BOOST_AUTO_TEST_CASE(test_empty_string
)
21 using boost::metaparse::v1::impl::empty_string
;
25 BOOST_REQUIRE_EQUAL(string(), empty_string
<>::value
);