1
0
mirror of https://github.com/PurpleI2P/Boost-for-Android-Prebuilt synced 2025-01-08 22:08:01 +00:00
Boost-for-Android-Prebuilt/boost-1_72_0/include/boost/metaparse/sequence_apply.hpp
r4sas 93de5720b8
add boost 1.72.0
Signed-off-by: r4sas <r4sas@i2pmail.org>
2020-02-29 22:43:48 +00:00

37 lines
850 B
C++

#ifndef BOOST_METAPARSE_SEQUENCE_APPLY_HPP
#define BOOST_METAPARSE_SEQUENCE_APPLY_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
// 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 <boost/metaparse/v1/sequence_apply.hpp>
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
#include <boost/preprocessor/cat.hpp>
namespace boost
{
namespace metaparse
{
#ifdef BOOST_METAPARSE_USING
# error BOOST_METAPARSE_USING already defined
#endif
#define BOOST_METAPARSE_USING(z, n, unused) \
using BOOST_PP_CAT(v1::sequence_apply, n);
BOOST_PP_REPEAT_FROM_TO(
1,
BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE,
BOOST_METAPARSE_USING,
~
)
#undef BOOST_METAPARSE_USING
}
}
#endif