mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-18 23:02:14 +02:00
C++ fixes
[SVN r82629]
This commit is contained in:
@ -10,6 +10,8 @@
|
|||||||
#include <boost/fusion/container/deque/convert.hpp>
|
#include <boost/fusion/container/deque/convert.hpp>
|
||||||
#include <boost/fusion/adapted/mpl.hpp>
|
#include <boost/fusion/adapted/mpl.hpp>
|
||||||
|
|
||||||
|
#define BOOST_FUSION_SEQUENCE_CONVERSION_IS_NOT_SEQUENCE__TYPE_PRESERVING
|
||||||
|
|
||||||
#define FUSION_SEQUENCE deque
|
#define FUSION_SEQUENCE deque
|
||||||
#include "misc.hpp"
|
#include "misc.hpp"
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ struct test_intrinsics2
|
|||||||
{
|
{
|
||||||
typedef boost::fusion::FUSION_SEQUENCE<> seq0;
|
typedef boost::fusion::FUSION_SEQUENCE<> seq0;
|
||||||
|
|
||||||
|
#if !defined(BOOST_FUSION_SEQUENCE_CONVERSION_IS_NOT_SEQUENCE__TYPE_PRESERVING)
|
||||||
#if !defined(FUSION_FORWARD_ONLY) // list has no back/prev
|
#if !defined(FUSION_FORWARD_ONLY) // list has no back/prev
|
||||||
|
|
||||||
typedef boost::fusion::FUSION_SEQUENCE<int> target1;
|
typedef boost::fusion::FUSION_SEQUENCE<int> target1;
|
||||||
@ -114,6 +115,8 @@ struct test_intrinsics2
|
|||||||
typedef boost::fusion::FUSION_SEQUENCE<double, int> target4;
|
typedef boost::fusion::FUSION_SEQUENCE<double, int> target4;
|
||||||
typedef boost::mpl::push_front<seq3, double>::type seq4;
|
typedef boost::mpl::push_front<seq3, double>::type seq4;
|
||||||
BOOST_STATIC_ASSERT((boost::mpl::equal<seq4, target4>::value));
|
BOOST_STATIC_ASSERT((boost::mpl::equal<seq4, target4>::value));
|
||||||
|
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user