stabilize build system: depends, installer, boost/bdb fixes, cross targets groundwork
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user