forked from boostorg/fusion
vc7.1 bugfix
[SVN r36919]
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright (c) 2007 Tobias Schwinger
|
Copyright (c) 2007 Tobias Schwinger
|
||||||
|
|
||||||
Use modification and distribution are subject to the Boost Software
|
Use modification and distribution are subject to the Boost Software
|
||||||
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
http://www.boost.org/LICENSE_1_0.txt).
|
http://www.boost.org/LICENSE_1_0.txt).
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
@ -71,10 +71,10 @@ int main()
|
|||||||
TEST_SAME_TYPE(deduce< int volatile (&)[2] >::type, int volatile (&)[2]);
|
TEST_SAME_TYPE(deduce< int volatile (&)[2] >::type, int volatile (&)[2]);
|
||||||
TEST_SAME_TYPE(deduce< int const volatile (&)[2] >::type, int const volatile (&)[2]);
|
TEST_SAME_TYPE(deduce< int const volatile (&)[2] >::type, int const volatile (&)[2]);
|
||||||
|
|
||||||
TEST_SAME_ELEMENTS(deduce_sequence<args1>::type,storable1);
|
TEST_SAME_ELEMENTS(deduce_sequence<args1>::type,storable1);
|
||||||
TEST_SAME_ELEMENTS(deduce_sequence<args2>::type,storable2);
|
TEST_SAME_ELEMENTS(deduce_sequence<args2>::type,storable2);
|
||||||
TEST_SAME_ELEMENTS(deduce_sequence<args3>::type,storable3);
|
TEST_SAME_ELEMENTS(deduce_sequence<args3>::type,storable3);
|
||||||
TEST_SAME_ELEMENTS(deduce_sequence<args4>::type,storable4);
|
TEST_SAME_ELEMENTS(deduce_sequence<args4>::type,storable4);
|
||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
http://www.boost.org/LICENSE_1_0.txt)
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#include <boost/fusion/sequence/container/deque/deque.hpp>
|
#include <boost/fusion/sequence/container/deque/deque.hpp>
|
||||||
|
#include <boost/fusion/sequence/conversion/as_deque.hpp>
|
||||||
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
||||||
|
|
||||||
#define FUSION_SEQUENCE deque
|
#define FUSION_SEQUENCE deque
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
http://www.boost.org/LICENSE_1_0.txt)
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#include <boost/fusion/sequence/container/list/list.hpp>
|
#include <boost/fusion/sequence/container/list/list.hpp>
|
||||||
|
#include <boost/fusion/sequence/conversion/as_list.hpp>
|
||||||
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
||||||
|
|
||||||
#define FUSION_SEQUENCE list
|
#define FUSION_SEQUENCE list
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
http://www.boost.org/LICENSE_1_0.txt)
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#include <boost/fusion/tuple.hpp>
|
#include <boost/fusion/tuple.hpp>
|
||||||
|
#include <boost/fusion/sequence/conversion/as_vector.hpp>
|
||||||
|
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
||||||
|
|
||||||
#define FUSION_SEQUENCE tuple
|
#define FUSION_SEQUENCE tuple
|
||||||
#define FUSION_AT get
|
#define FUSION_AT get
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
http://www.boost.org/LICENSE_1_0.txt)
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#include <boost/fusion/sequence/container/vector/vector.hpp>
|
#include <boost/fusion/sequence/container/vector/vector.hpp>
|
||||||
|
#include <boost/fusion/sequence/conversion/as_vector.hpp>
|
||||||
|
#include <boost/fusion/sequence/adapted/mpl.hpp>
|
||||||
|
|
||||||
#define FUSION_SEQUENCE vector
|
#define FUSION_SEQUENCE vector
|
||||||
#include "misc.hpp"
|
#include "misc.hpp"
|
||||||
|
Reference in New Issue
Block a user