|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81801 - trunk/boost/utility
From: marshall_at_[hidden]
Date: 2012-12-08 13:37:30
Author: marshall
Date: 2012-12-08 13:37:29 EST (Sat, 08 Dec 2012)
New Revision: 81801
URL: http://svn.boost.org/trac/boost/changeset/81801
Log:
Removed use of deprecated macros
Text files modified:
trunk/boost/utility/base_from_member.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/utility/base_from_member.hpp
==============================================================================
--- trunk/boost/utility/base_from_member.hpp (original)
+++ trunk/boost/utility/base_from_member.hpp 2012-12-08 13:37:29 EST (Sat, 08 Dec 2012)
@@ -96,7 +96,7 @@
// Contributed by Daryle Walker, based on a work-around by Luc Danton
-#ifndef BOOST_NO_VARIADIC_TEMPLATES
+#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES
template<typename ...T>
struct enable_if_unrelated
: public ::boost::enable_if_c<true>
@@ -126,9 +126,9 @@
protected:
MemberType member;
-#if !defined(BOOST_NO_RVALUE_REFERENCES) && \
- !defined(BOOST_NO_VARIADIC_TEMPLATES) && \
- !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
+ !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \
+ !defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
!(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 4))
template <typename ...T, typename EnableIf = typename
::boost::detail::enable_if_unrelated<base_from_member, T...>::type>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk