summaryrefslogtreecommitdiff
path: root/boost/typeof/std/functional.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/typeof/std/functional.hpp')
-rw-r--r--boost/typeof/std/functional.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/typeof/std/functional.hpp b/boost/typeof/std/functional.hpp
index f1b157764e..6d3d00d31e 100644
--- a/boost/typeof/std/functional.hpp
+++ b/boost/typeof/std/functional.hpp
@@ -10,8 +10,10 @@
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+#ifndef BOOST_NO_CXX98_FUNCTION_BASE
BOOST_TYPEOF_REGISTER_TEMPLATE(std::unary_function, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::binary_function, 3)
+#endif//BOOST_NO_CXX98_FUNCTION_BASE
BOOST_TYPEOF_REGISTER_TEMPLATE(std::plus, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::minus, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::multiplies, 1)
@@ -30,6 +32,8 @@ BOOST_TYPEOF_REGISTER_TEMPLATE(std::logical_not, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::unary_negate, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::binary_negate, 1)
+#ifndef BOOST_NO_CXX98_BINDERS
+
#if defined(__MWERKS__) && defined(_MSL_EXTENDED_BINDERS)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::binder1st, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::binder2nd, 2)
@@ -52,4 +56,6 @@ BOOST_TYPEOF_REGISTER_TEMPLATE(std::mem_fun1_ref_t, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::const_mem_fun1_ref_t, 3)
#endif//BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, == 1)
+#endif//BOOST_NO_CXX98_BINDERS
+
#endif//BOOST_TYPEOF_STD_functional_hpp_INCLUDED