1 #ifndef BOOST_METAPARSE_V1_IMPL_EMPTY_STRING_HPP
2 #define BOOST_METAPARSE_V1_IMPL_EMPTY_STRING_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/metaparse/config.hpp>
19 template <class Ignore = int>
22 typedef empty_string type;
24 #ifdef BOOST_NO_CONSTEXPR_C_STR
25 static const char value[1];
27 static constexpr char value[1] = {0};
31 #ifdef BOOST_NO_CONSTEXPR_C_STR
32 template <class Ignore>
33 const char empty_string<Ignore>::value[1] = {0};
35 template <class Ignore>
36 constexpr char empty_string<Ignore>::value[1];