Ticket #11682: patch1-11681.patch

File patch1-11681.patch, 654 bytes (added by crmoore@…, 7 years ago)
  • include/boost/fusion/support/pair.hpp

    diff --git a/include/boost/fusion/support/pair.hpp b/include/boost/fusion/support/pair.hpp
    index a4cd1ff..a6c58a9 100644
    a b namespace boost { namespace fusion  
    2929    template <typename First, typename Second>
    3030    struct pair
    3131    {
     32        template< typename B = typename std::is_default_constructible<Second>
     33                , typename boost::enable_if<B>::type* = 0
     34                >
    3235        BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
    33         pair()
     36        pair( )
    3437            : second() {}
    3538
    3639        BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED