Remove use of deprecated macros; use replacements

This commit is contained in:
Marshall Clow
2015-09-10 13:25:58 -07:00
parent 7071fbc7d8
commit cd84bf99c5
3 changed files with 5 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ class varray
BOOST_COPYABLE_AND_MOVABLE(varray)
#ifdef BOOST_NO_RVALUE_REFERENCES
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
public:
template <std::size_t C, typename S>
varray & operator=(varray<Value, C, S> & sv)
@@ -422,7 +422,7 @@ public:
//! Linear O(N).
template <std::size_t C, typename S>
// TEMPORARY WORKAROUND
#if defined(BOOST_NO_RVALUE_REFERENCES)
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
varray & operator=(::boost::rv< varray<value_type, C, S> > const& other)
#else
varray & operator=(varray<value_type, C, S> const& other)

View File

@@ -537,8 +537,8 @@ void construct(DisableTrivialInit const&,
#else // !BOOST_NO_CXX11_VARIADIC_TEMPLATES
// BOOST_NO_RVALUE_REFERENCES -> P0 const& p0
// !BOOST_NO_RVALUE_REFERENCES -> P0 && p0
// BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 const& p0
// !BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 && p0
// which means that version with one parameter may take V const& v
#define BOOST_CONTAINER_VARRAY_UTIL_CONSTRUCT_CODE(N) \

View File

@@ -200,7 +200,7 @@ public:
//! Linear O(N).
template <std::size_t C>
// TEMPORARY WORKAROUND
#if defined(BOOST_NO_RVALUE_REFERENCES)
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
varray & operator=(::boost::rv< varray<value_type, C> > const& other)
#else
varray & operator=(varray<value_type, C> const& other)