mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Removed use of deprecated macros
[SVN r81801]
This commit is contained in:
parent
c55d5ca7de
commit
dc8ffe92b8
@ -96,7 +96,7 @@ struct is_related
|
|||||||
|
|
||||||
// Contributed by Daryle Walker, based on a work-around by Luc Danton
|
// 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>
|
template<typename ...T>
|
||||||
struct enable_if_unrelated
|
struct enable_if_unrelated
|
||||||
: public ::boost::enable_if_c<true>
|
: public ::boost::enable_if_c<true>
|
||||||
@ -126,9 +126,9 @@ class base_from_member
|
|||||||
protected:
|
protected:
|
||||||
MemberType member;
|
MemberType member;
|
||||||
|
|
||||||
#if !defined(BOOST_NO_RVALUE_REFERENCES) && \
|
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
|
||||||
!defined(BOOST_NO_VARIADIC_TEMPLATES) && \
|
!defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \
|
||||||
!defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
|
!defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
|
||||||
!(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 4))
|
!(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 4))
|
||||||
template <typename ...T, typename EnableIf = typename
|
template <typename ...T, typename EnableIf = typename
|
||||||
::boost::detail::enable_if_unrelated<base_from_member, T...>::type>
|
::boost::detail::enable_if_unrelated<base_from_member, T...>::type>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user