Revert Stephen Kelly's changes.
They should really wait until MPL's dependencies have dealt with his changes.
This commit is contained in:
1 parent
27815b8d37
commit
db7e720ce1
265 files changed
+36607
-121
No files matched your search
@@ -22,11 +22,27 @@
|
||||
|
||||
namespace boost { namespace mpl {
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
namespace aux
|
||||
{
|
||||
template <class N>
|
||||
struct is_even_base
|
||||
{
|
||||
enum { value = (N::value % 2) == 0 };
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
template<
|
||||
typename BOOST_MPL_AUX_NA_PARAM(N)
|
||||
>
|
||||
struct is_even
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
: aux::is_even_base<N>::type
|
||||
#else
|
||||
: bool_<((N::value % 2) == 0)>
|
||||
#endif
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_even,(N))
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user