85 lines
1.3 KiB
C++
85 lines
1.3 KiB
C++
|
|
// Copyright Aleksey Gurtovoy 2000-2004
|
|
//
|
|
// 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)
|
|
//
|
|
|
|
// Preprocessed version of "boost/mpl/apply_wrap.hpp" header
|
|
// -- DO NOT modify by hand!
|
|
|
|
namespace boost { namespace mpl {
|
|
|
|
template<
|
|
typename F
|
|
|
|
, typename has_apply_ = typename aux::has_apply<F>::type
|
|
|
|
>
|
|
struct apply_wrap0
|
|
|
|
: F::template apply< >
|
|
{
|
|
};
|
|
|
|
template< typename F >
|
|
struct apply_wrap0< F,true_ >
|
|
: F::apply
|
|
{
|
|
};
|
|
|
|
template<
|
|
typename F, typename T1
|
|
|
|
>
|
|
struct apply_wrap1
|
|
|
|
: F::template apply<T1>
|
|
{
|
|
};
|
|
|
|
template<
|
|
typename F, typename T1, typename T2
|
|
|
|
>
|
|
struct apply_wrap2
|
|
|
|
: F::template apply< T1,T2 >
|
|
{
|
|
};
|
|
|
|
template<
|
|
typename F, typename T1, typename T2, typename T3
|
|
|
|
>
|
|
struct apply_wrap3
|
|
|
|
: F::template apply< T1,T2,T3 >
|
|
{
|
|
};
|
|
|
|
template<
|
|
typename F, typename T1, typename T2, typename T3, typename T4
|
|
|
|
>
|
|
struct apply_wrap4
|
|
|
|
: F::template apply< T1,T2,T3,T4 >
|
|
{
|
|
};
|
|
|
|
template<
|
|
typename F, typename T1, typename T2, typename T3, typename T4
|
|
, typename T5
|
|
|
|
>
|
|
struct apply_wrap5
|
|
|
|
: F::template apply< T1,T2,T3,T4,T5 >
|
|
{
|
|
};
|
|
|
|
}}
|
|
|