summaryrefslogtreecommitdiff
path: root/boost/spirit/home/support/action_dispatch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/support/action_dispatch.hpp')
-rw-r--r--boost/spirit/home/support/action_dispatch.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/spirit/home/support/action_dispatch.hpp b/boost/spirit/home/support/action_dispatch.hpp
index 7b9bccf097..c17f56dfb8 100644
--- a/boost/spirit/home/support/action_dispatch.hpp
+++ b/boost/spirit/home/support/action_dispatch.hpp
@@ -15,8 +15,8 @@
#include<boost/config.hpp>
-#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_LAMBDAS) && \
- !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_NO_DECLTYPE)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_LAMBDAS) && \
+ !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_DECLTYPE)
#include <utility>
#include <type_traits>
#endif
@@ -30,8 +30,8 @@ namespace boost { namespace spirit { namespace traits
template <typename Component>
struct action_dispatch
{
-#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_LAMBDAS) && \
- !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_NO_DECLTYPE)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_LAMBDAS) && \
+ !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_DECLTYPE)
// omit function parameters without specializing for each possible
// type of callable entity
// many thanks to Eelis/##iso-c++ for this contribution