mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-30 20:47:31 +02:00
Correct variadic based fusion::deque requirements
This commit is contained in:
@ -11,9 +11,8 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
#if (defined(BOOST_NO_CXX11_DECLTYPE) \
|
#if (defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
|
||||||
|| defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
|
|| defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)) \
|
||||||
|| defined(BOOST_NO_CXX11_RVALUE_REFERENCES)) \
|
|
||||||
|| (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES))
|
|| (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES))
|
||||||
# if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
|
# if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
|
||||||
# undef BOOST_FUSION_HAS_VARIADIC_DEQUE
|
# undef BOOST_FUSION_HAS_VARIADIC_DEQUE
|
||||||
@ -25,7 +24,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// With no decltype and variadics, we will use the C++03 version
|
// With no variadics, we will use the C++03 version
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#if !defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
|
#if !defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
|
||||||
# include <boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp>
|
# include <boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp>
|
||||||
|
Reference in New Issue
Block a user