File indexing completed on 2025-01-18 09:40:46
0001 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_SIZE_HPP
0002 #define BOOST_METAPARSE_V1_CPP11_IMPL_SIZE_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/cpp11/fwd/string.hpp>
0010
0011 #include <boost/mpl/int.hpp>
0012
0013 #include <type_traits>
0014
0015 namespace boost
0016 {
0017 namespace metaparse
0018 {
0019 namespace v1
0020 {
0021 namespace impl
0022 {
0023 template <class S>
0024 struct size;
0025
0026 template <char... Cs>
0027 struct size<string<Cs...>> : boost::mpl::int_<sizeof...(Cs)> {};
0028 }
0029 }
0030 }
0031 }
0032
0033 #endif
0034