mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 09:07:26 +02:00
Overhaul the fusion::fold family to make SFINAE-friendly.
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;
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/fusion/support/detail/result_of.hpp>
|
||||
#include <boost/utility/result_of.hpp>
|
||||
|
||||
#if !defined(BOOST_NO_SFINAE) && !defined(BOOST_FUSION_NO_DECLTYPE_BASED_RESULT_OF)
|
||||
#if !defined(BOOST_NO_SFINAE) && defined(BOOST_RESULT_OF_USE_DECLTYPE)
|
||||
|
||||
#include <boost/fusion/container/vector.hpp>
|
||||
|
||||
|
Reference in New Issue
Block a user