forked from boostorg/fusion
Merge pull request #102 from Flast/sfinae-friendly-fold
SFINAE-friendly fusion::fold
This commit is contained in:
@ -238,7 +238,7 @@ main()
|
||||
}
|
||||
|
||||
{
|
||||
#if !defined(BOOST_FUSION_NO_DECLTYPE_BASED_RESULT_OF)
|
||||
#if defined(BOOST_RESULT_OF_USE_DECLTYPE)
|
||||
{
|
||||
boost::fusion::vector<int, double, long> container{1, 2, 3};
|
||||
functor f;
|
||||
|
@ -189,7 +189,7 @@ struct fold_test_n
|
||||
>::type
|
||||
, typename mpl::if_c<
|
||||
!n
|
||||
, mpl::vector<mpl::int_<1>, mpl::int_<0> > const&
|
||||
, mpl::vector<mpl::int_<1>, mpl::int_<0> >&
|
||||
, mpl::vector<mpl::int_<n+1>, mpl::int_<squares_sum> >
|
||||
>::type
|
||||
>
|
||||
|
Reference in New Issue
Block a user