mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 01:27:37 +02:00
remove unnecessary actor to tighten ADL resolution. the one above it is
sufficient.
This commit is contained in:
@ -48,16 +48,6 @@ namespace boost { namespace fusion
|
|||||||
pair(typename detail::call_param<Second>::type val)
|
pair(typename detail::call_param<Second>::type val)
|
||||||
: second(val) {}
|
: second(val) {}
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|
||||||
|
|
||||||
template <typename Second2>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
explicit pair(Second2&& val
|
|
||||||
, typename boost::enable_if<is_convertible<Second2, Second> >::type* /*dummy*/ = 0
|
|
||||||
) : second(std::forward<Second2>(val)) {}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
template <typename Second2>
|
template <typename Second2>
|
||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
pair(pair<First, Second2> const& rhs)
|
pair(pair<First, Second2> const& rhs)
|
||||||
|
Reference in New Issue
Block a user