• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_EMPTY_STRING_HPP
2 #define BOOST_METAPARSE_V1_CPP11_IMPL_EMPTY_STRING_HPP
3 
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)
8 
9 namespace boost
10 {
11   namespace metaparse
12   {
13     namespace v1
14     {
15       namespace impl
16       {
17         template <class Ignore = int>
18         struct empty_string
19         {
20           typedef empty_string type;
21 
22           static constexpr char value[1] = {0};
23         };
24 
25         template <class Ignore>
26         constexpr char empty_string<Ignore>::value[1];
27       }
28     }
29   }
30 }
31 
32 #endif
33 
34