mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
Remove use of deprecated macros; use replacements
This commit is contained in:
@@ -235,7 +235,7 @@ class varray
|
|||||||
|
|
||||||
BOOST_COPYABLE_AND_MOVABLE(varray)
|
BOOST_COPYABLE_AND_MOVABLE(varray)
|
||||||
|
|
||||||
#ifdef BOOST_NO_RVALUE_REFERENCES
|
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
public:
|
public:
|
||||||
template <std::size_t C, typename S>
|
template <std::size_t C, typename S>
|
||||||
varray & operator=(varray<Value, C, S> & sv)
|
varray & operator=(varray<Value, C, S> & sv)
|
||||||
@@ -422,7 +422,7 @@ public:
|
|||||||
//! Linear O(N).
|
//! Linear O(N).
|
||||||
template <std::size_t C, typename S>
|
template <std::size_t C, typename S>
|
||||||
// TEMPORARY WORKAROUND
|
// 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)
|
varray & operator=(::boost::rv< varray<value_type, C, S> > const& other)
|
||||||
#else
|
#else
|
||||||
varray & operator=(varray<value_type, C, S> const& other)
|
varray & operator=(varray<value_type, C, S> const& other)
|
||||||
|
@@ -537,8 +537,8 @@ void construct(DisableTrivialInit const&,
|
|||||||
|
|
||||||
#else // !BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
#else // !BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||||
|
|
||||||
// BOOST_NO_RVALUE_REFERENCES -> P0 const& p0
|
// BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 const& p0
|
||||||
// !BOOST_NO_RVALUE_REFERENCES -> P0 && p0
|
// !BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 && p0
|
||||||
// which means that version with one parameter may take V const& v
|
// which means that version with one parameter may take V const& v
|
||||||
|
|
||||||
#define BOOST_CONTAINER_VARRAY_UTIL_CONSTRUCT_CODE(N) \
|
#define BOOST_CONTAINER_VARRAY_UTIL_CONSTRUCT_CODE(N) \
|
||||||
|
@@ -200,7 +200,7 @@ public:
|
|||||||
//! Linear O(N).
|
//! Linear O(N).
|
||||||
template <std::size_t C>
|
template <std::size_t C>
|
||||||
// TEMPORARY WORKAROUND
|
// 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)
|
varray & operator=(::boost::rv< varray<value_type, C> > const& other)
|
||||||
#else
|
#else
|
||||||
varray & operator=(varray<value_type, C> const& other)
|
varray & operator=(varray<value_type, C> const& other)
|
||||||
|
Reference in New Issue
Block a user