mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 12:07:36 +02:00
Tweaks for MSVC. MSVC version of map is not yet move enables so it is failing the move test
[SVN r82728]
This commit is contained in:
@ -64,7 +64,9 @@
|
|||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||||
template <BOOST_PP_ENUM_PARAMS(N, typename U)>
|
template <BOOST_PP_ENUM_PARAMS(N, typename U)>
|
||||||
BOOST_PP_CAT(vector_data, N)(BOOST_PP_ENUM_BINARY_PARAMS(N, U, && _))
|
BOOST_PP_CAT(vector_data, N)(BOOST_PP_ENUM_BINARY_PARAMS(N, U, && _)
|
||||||
|
, typename boost::enable_if<is_convertible<U0, T0> >::type* /*dummy*/ = 0
|
||||||
|
)
|
||||||
: BOOST_PP_ENUM(N, FUSION_VECTOR_CTOR_ARG_FWD, _) {}
|
: BOOST_PP_ENUM(N, FUSION_VECTOR_CTOR_ARG_FWD, _) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/utility/enable_if.hpp>
|
||||||
|
#include <boost/type_traits/is_convertible.hpp>
|
||||||
|
|
||||||
#if defined (BOOST_MSVC)
|
#if defined (BOOST_MSVC)
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
|
Reference in New Issue
Block a user