mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 01:27:37 +02:00
Fix hard compilation error with nested fusion::cons.
This commit is contained in:
@ -27,7 +27,6 @@
|
||||
#include <boost/fusion/support/sequence_base.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
#include <boost/mpl/or.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
@ -75,10 +74,7 @@ namespace boost { namespace fusion
|
||||
cons(
|
||||
Sequence const& seq
|
||||
, typename boost::disable_if<
|
||||
mpl::or_<
|
||||
is_convertible<Sequence, cons> // use copy ctor instead
|
||||
, is_convertible<Sequence, Car> // use copy to car instead
|
||||
>
|
||||
is_convertible<Sequence, Car> // use copy to car instead
|
||||
>::type* /*dummy*/ = 0
|
||||
)
|
||||
: car(*fusion::begin(seq))
|
||||
|
Reference in New Issue
Block a user