Remove Activ libs and includes
This commit is contained in:
1 parent
28ed30c944
commit
4b718994be
10967 files changed
-2306716
No files matched your search
@@ -1,102 +0,0 @@
|
||||
/*==============================================================================
|
||||
Copyright (c) 2005-2010 Joel de Guzman
|
||||
Copyright (c) 2010 Thomas Heller
|
||||
Copyright (c) 2015 John Fletcher
|
||||
|
||||
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)
|
||||
==============================================================================*/
|
||||
#ifndef ACTIV_BOOST_PHOENIX_FUNCTION_ADAPT_FUNCTION_HPP
|
||||
#define ACTIV_BOOST_PHOENIX_FUNCTION_ADAPT_FUNCTION_HPP
|
||||
|
||||
#include <ActivBoost/phoenix/core/limits.hpp>
|
||||
#include <ActivBoost/phoenix/core/detail/function_eval.hpp>
|
||||
#include <ActivBoost/preprocessor/repetition/repeat.hpp>
|
||||
|
||||
#define ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION_NULLARY(RESULT, NAME, FUNC) \
|
||||
namespace detail0 \
|
||||
{ \
|
||||
struct ACTIV_BOOST_PP_CAT(NAME, _impl_nullary) \
|
||||
{ \
|
||||
typedef RESULT result_type; \
|
||||
\
|
||||
result_type \
|
||||
operator()() const \
|
||||
{ \
|
||||
return FUNC(); \
|
||||
} \
|
||||
}; \
|
||||
} \
|
||||
\
|
||||
inline \
|
||||
Boost::phoenix::detail::expression::function_eval< \
|
||||
detail0:: ACTIV_BOOST_PP_CAT(NAME, _impl_nullary) \
|
||||
>::type const \
|
||||
NAME() \
|
||||
{ \
|
||||
return Boost::phoenix::detail::expression:: \
|
||||
function_eval<detail0:: ACTIV_BOOST_PP_CAT(NAME, _impl_nullary)> \
|
||||
::make(detail0:: ACTIV_BOOST_PP_CAT(NAME, _impl_nullary)()); \
|
||||
} \
|
||||
/**/
|
||||
|
||||
#define ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION(RESULT, NAME, FUNC, N) \
|
||||
namespace detail1 \
|
||||
{ \
|
||||
struct ACTIV_BOOST_PP_CAT(ACTIV_BOOST_PP_CAT(NAME, _impl_), N) \
|
||||
{ \
|
||||
template <typename Sig> \
|
||||
struct result; \
|
||||
\
|
||||
template <typename This, ACTIV_BOOST_PHOENIX_typename_A(N)> \
|
||||
struct result<This(ACTIV_BOOST_PHOENIX_A(N))> \
|
||||
{typedef RESULT type;}; \
|
||||
\
|
||||
template <ACTIV_BOOST_PHOENIX_typename_A(N)> \
|
||||
RESULT \
|
||||
operator()(ACTIV_BOOST_PHOENIX_A_ref_a(N)) const \
|
||||
{ \
|
||||
return FUNC(ACTIV_BOOST_PHOENIX_a(N)); \
|
||||
} \
|
||||
}; \
|
||||
} \
|
||||
\
|
||||
template <ACTIV_BOOST_PHOENIX_typename_A(N)> \
|
||||
inline \
|
||||
typename \
|
||||
Boost::phoenix::detail::expression::function_eval< \
|
||||
detail1:: ACTIV_BOOST_PP_CAT(ACTIV_BOOST_PP_CAT(NAME, _impl_), N) \
|
||||
, ACTIV_BOOST_PHOENIX_A(N)>::type const \
|
||||
NAME(ACTIV_BOOST_PHOENIX_A_const_ref_a(N)) \
|
||||
{ \
|
||||
return Boost::phoenix::detail::expression:: \
|
||||
function_eval< \
|
||||
detail1:: ACTIV_BOOST_PP_CAT(ACTIV_BOOST_PP_CAT(NAME, _impl_), N) \
|
||||
, ACTIV_BOOST_PHOENIX_A(N) \
|
||||
>::make( \
|
||||
detail1:: ACTIV_BOOST_PP_CAT(ACTIV_BOOST_PP_CAT(NAME, _impl_), N)() \
|
||||
, ACTIV_BOOST_PHOENIX_a(N) \
|
||||
); \
|
||||
} \
|
||||
/**/
|
||||
|
||||
#define ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION_VARARG(RESULT, NAME, FUNC) \
|
||||
ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION_NULLARY(NAME, FUNC) \
|
||||
ACTIV_BOOST_PP_REPEAT_FROM_TO( \
|
||||
1 \
|
||||
, ACTIV_BOOST_PHOENIX_USER_LIMIT \
|
||||
, ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION_VARARG_R \
|
||||
, (RESULT, NAME, FUNC) \
|
||||
) \
|
||||
/**/
|
||||
|
||||
#define ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION_VARARG_R(Z, N, D) \
|
||||
ACTIV_BOOST_PHOENIX_ADAPT_FUNCTION( \
|
||||
ACTIV_BOOST_PP_TUPLE_ELEM(3, 0, D) \
|
||||
, ACTIV_BOOST_PP_TUPLE_ELEM(3, 1, D) \
|
||||
, ACTIV_BOOST_PP_TUPLE_ELEM(3, 2, D) \
|
||||
, N \
|
||||
) \
|
||||
/**/
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user