forked from boostorg/fusion
Merge pull request #18 from Flast/fix/test/tr1_tuple
Fix test error on non c++11 environment; Boost.TR1 is deprecated.
This commit is contained in:
@@ -117,7 +117,6 @@ project
|
|||||||
[ run sequence/tuple_mutate.cpp : : : : ]
|
[ run sequence/tuple_mutate.cpp : : : : ]
|
||||||
[ run sequence/tuple_hash.cpp : : : : ]
|
[ run sequence/tuple_hash.cpp : : : : ]
|
||||||
[ run sequence/tuple_tie.cpp : : : : ]
|
[ run sequence/tuple_tie.cpp : : : : ]
|
||||||
[ run sequence/tr1_tuple_auto_conv.cpp : : : : ]
|
|
||||||
[ run sequence/transform_view.cpp : : : : ]
|
[ run sequence/transform_view.cpp : : : : ]
|
||||||
[ run sequence/vector_comparison.cpp : : : : ]
|
[ run sequence/vector_comparison.cpp : : : : ]
|
||||||
[ run sequence/vector_construction.cpp : : : : ]
|
[ run sequence/vector_construction.cpp : : : : ]
|
||||||
@@ -156,6 +155,7 @@ project
|
|||||||
[ run sequence/define_tpl_struct_inline.cpp : : : : ]
|
[ run sequence/define_tpl_struct_inline.cpp : : : : ]
|
||||||
[ run sequence/define_assoc_tpl_struct.cpp : : : : ]
|
[ run sequence/define_assoc_tpl_struct.cpp : : : : ]
|
||||||
[ run sequence/std_tuple.cpp : : : : ]
|
[ run sequence/std_tuple.cpp : : : : ]
|
||||||
|
[ run sequence/std_tuple_auto_conv.cpp : : : : ]
|
||||||
[ run sequence/std_tuple_iterator.cpp : : : : ]
|
[ run sequence/std_tuple_iterator.cpp : : : : ]
|
||||||
[ run sequence/ref_vector.cpp : : : : ]
|
[ run sequence/ref_vector.cpp : : : : ]
|
||||||
[ run sequence/flatten_view.cpp : : : : ]
|
[ run sequence/flatten_view.cpp : : : : ]
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \
|
||||||
|
!defined(BOOST_NO_CXX11_SMART_PTR)
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <boost/any.hpp>
|
#include <boost/any.hpp>
|
||||||
@@ -54,3 +59,12 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Reference in New Issue
Block a user