forked from boostorg/fusion
Fixed compile error on copy construction.
This commit is contained in:
@@ -24,6 +24,8 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||||
#include <boost/type_traits/is_convertible.hpp>
|
#include <boost/type_traits/is_convertible.hpp>
|
||||||
|
#include <boost/type_traits/is_same.hpp>
|
||||||
|
#include <boost/type_traits/remove_reference.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/container/deque/deque_fwd.hpp>
|
#include <boost/fusion/container/deque/deque_fwd.hpp>
|
||||||
#include <boost/fusion/container/deque/detail/value_at_impl.hpp>
|
#include <boost/fusion/container/deque/detail/value_at_impl.hpp>
|
||||||
@@ -135,6 +137,10 @@ FUSION_HASH if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
explicit deque(T0_&& t0
|
explicit deque(T0_&& t0
|
||||||
, typename enable_if<is_convertible<T0_, T0>, detail::enabler_>::type = detail::enabler
|
, typename enable_if<is_convertible<T0_, T0>, detail::enabler_>::type = detail::enabler
|
||||||
|
, typename disable_if_c<
|
||||||
|
boost::is_same<deque const, typename boost::remove_reference<T0_>::type const>::value
|
||||||
|
, detail::enabler_
|
||||||
|
>::type = detail::enabler
|
||||||
)
|
)
|
||||||
: base(BOOST_FUSION_FWD_ELEM(T0_, t0), detail::nil_keyed_element())
|
: base(BOOST_FUSION_FWD_ELEM(T0_, t0), detail::nil_keyed_element())
|
||||||
{}
|
{}
|
||||||
|
Reference in New Issue
Block a user