summaryrefslogtreecommitdiff
path: root/boost/fusion/container/set/detail/cpp03/set.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/set/detail/cpp03/set.hpp')
-rw-r--r--boost/fusion/container/set/detail/cpp03/set.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/fusion/container/set/detail/cpp03/set.hpp b/boost/fusion/container/set/detail/cpp03/set.hpp
index 46191c5c63..274a36eb42 100644
--- a/boost/fusion/container/set/detail/cpp03/set.hpp
+++ b/boost/fusion/container/set/detail/cpp03/set.hpp
@@ -8,6 +8,8 @@
#define FUSION_SET_09162005_1104
#include <boost/fusion/support/config.hpp>
+#include <boost/fusion/support/void.hpp>
+#include <boost/fusion/support/detail/enabler.hpp>
#include <boost/fusion/support/is_sequence.hpp>
#include <boost/fusion/support/sequence_base.hpp>
#include <boost/fusion/support/category_of.hpp>
@@ -47,7 +49,6 @@
namespace boost { namespace fusion
{
- struct void_;
struct fusion_sequence_tag;
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_SET_SIZE, typename T)>
@@ -72,7 +73,7 @@ namespace boost { namespace fusion
template <typename Sequence>
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
set(Sequence const& rhs
- , typename boost::enable_if<traits::is_sequence<Sequence> >::type* = 0)
+ , typename enable_if<traits::is_sequence<Sequence>, detail::enabler_>::type = detail::enabler)
: data(rhs) {}
#include <boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp>