/usr/include/boost/metaparse/v1/cpp11/impl
NameSizeModeActions
any_of_c.hpp7060644editdlrm
at_c.hpp8090644editdlrm
concat.hpp6810644editdlrm
empty_string.hpp7210644editdlrm
eval_later_result.hpp8940644editdlrm
is_none_c.hpp7220644editdlrm
is_none_c_impl.hpp8880644editdlrm
nth_of_c.hpp23190644editdlrm
nth_of_c_skip_remaining.hpp17720644editdlrm
or_c.hpp7550644editdlrm
pop_back.hpp9540644editdlrm
pop_front.hpp6610644editdlrm
push_back_c.hpp6800644editdlrm
push_front_c.hpp6840644editdlrm
push_front_result.hpp8240644editdlrm
size.hpp7020644editdlrm
string.hpp2377720644editdlrm
string_at.hpp10570644editdlrm
Edit: /usr/include/boost/metaparse/v1/cpp11/impl/string_at.hpp (1057B)
#ifndef BOOST_METAPARSE_V1_CPP11_IMPL_STRING_AT_HPP #define BOOST_METAPARSE_V1_CPP11_IMPL_STRING_AT_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include namespace boost { namespace metaparse { namespace v1 { namespace impl { template constexpr T string_at(const T (&s)[Len], int n) { // "MaxLen + 1" adds the \0 character of the string literal to the // limit static_assert(Len <= MaxLen + 1, "String literal is too long."); return n >= Len - 1 ? T() : s[n]; } } } } } #ifdef BOOST_METAPARSE_V1_STRING_AT # error BOOST_METAPARSE_V1_STRING_AT already defined #endif #define BOOST_METAPARSE_V1_STRING_AT \ ::boost::metaparse::v1::impl::string_at #endif