1
0
forked from boostorg/mpl

Improve compatibility with compilers other than GCC.

[SVN r61922]
This commit is contained in:
Neil Groves
2010-05-11 22:20:19 +00:00
parent b6e98cdd5a
commit 52d8442055

View File

@@ -4,8 +4,8 @@
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.
@@ -39,12 +39,11 @@ struct eval_if
#else
: if_<C,F1,F2>::type
{
typedef typename if_<C,F1,F2>::type type;
#endif
BOOST_MPL_AUX_LAMBDA_SUPPORT(3,eval_if,(C,F1,F2))
};
// (almost) copy & paste in order to save one more
// (almost) copy & paste in order to save one more
// recursively nested template instantiation to user
template<
bool C
@@ -62,7 +61,6 @@ struct eval_if_c
#else
: if_c<C,F1,F2>::type
{
typedef typename if_c<C,F1,F2>::type type;
#endif
};