mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Replace BOOST_MOVE_IMPDEF with BOOST_CONTAINER_IMPDEF
This commit is contained in:
@@ -41,6 +41,8 @@
|
|||||||
#include <boost/move/detail/fwd_macros.hpp>
|
#include <boost/move/detail/fwd_macros.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME allocate
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME allocate
|
||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_NS_BEG namespace boost { namespace container { namespace container_detail {
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_NS_BEG namespace boost { namespace container { namespace container_detail {
|
||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_NS_END }}}
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_NS_END }}}
|
||||||
@@ -62,16 +64,19 @@
|
|||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 9
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 9
|
||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace container {
|
namespace container {
|
||||||
|
|
||||||
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
namespace allocator_traits_detail {
|
namespace allocator_traits_detail {
|
||||||
|
|
||||||
BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_max_size, max_size)
|
BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_max_size, max_size)
|
||||||
BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_select_on_container_copy_construction, select_on_container_copy_construction)
|
BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_select_on_container_copy_construction, select_on_container_copy_construction)
|
||||||
|
|
||||||
}
|
} //namespace allocator_traits_detail {
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
|
||||||
|
|
||||||
namespace container_detail {
|
namespace container_detail {
|
||||||
|
|
||||||
|
@@ -502,11 +502,11 @@ class deque : protected deque_base<Allocator>
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(allocator_type) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(allocator_type) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(typename Base::iterator) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(typename Base::iterator) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(typename Base::const_iterator) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(typename Base::const_iterator) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Macros for documentation purposes. For code, expands to the argument
|
//Macros for documentation purposes. For code, expands to the argument
|
||||||
#define BOOST_MOVE_IMPDEF(TYPE) TYPE
|
#define BOOST_CONTAINER_IMPDEF(TYPE) TYPE
|
||||||
#define BOOST_CONTAINER_SEEDOC(TYPE) TYPE
|
#define BOOST_CONTAINER_SEEDOC(TYPE) TYPE
|
||||||
|
|
||||||
//Macros for memset optimization. In most platforms
|
//Macros for memset optimization. In most platforms
|
||||||
|
@@ -157,14 +157,14 @@ class flat_map
|
|||||||
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(Allocator) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(Allocator) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(value_compare_impl) value_compare;
|
typedef BOOST_CONTAINER_IMPDEF(value_compare_impl) value_compare;
|
||||||
typedef Compare key_compare;
|
typedef Compare key_compare;
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(reverse_iterator_impl) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(reverse_iterator_impl) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_reverse_iterator_impl) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_reverse_iterator_impl) const_reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(impl_value_type) movable_value_type;
|
typedef BOOST_CONTAINER_IMPDEF(impl_value_type) movable_value_type;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
@@ -1152,14 +1152,14 @@ class flat_multimap
|
|||||||
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(Allocator) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(Allocator) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(value_compare_impl) value_compare;
|
typedef BOOST_CONTAINER_IMPDEF(value_compare_impl) value_compare;
|
||||||
typedef Compare key_compare;
|
typedef Compare key_compare;
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(reverse_iterator_impl) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(reverse_iterator_impl) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_reverse_iterator_impl) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_reverse_iterator_impl) const_reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(impl_value_type) movable_value_type;
|
typedef BOOST_CONTAINER_IMPDEF(impl_value_type) movable_value_type;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@@ -167,11 +167,11 @@ class list
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(NodeAlloc) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(NodeAlloc) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@@ -109,15 +109,15 @@ class map
|
|||||||
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(value_compare_impl) value_compare;
|
typedef BOOST_CONTAINER_IMPDEF(value_compare_impl) value_compare;
|
||||||
typedef Compare key_compare;
|
typedef Compare key_compare;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::iterator) iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_iterator) const_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
||||||
typedef std::pair<key_type, mapped_type> nonconst_value_type;
|
typedef std::pair<key_type, mapped_type> nonconst_value_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(movable_value_type_impl) movable_value_type;
|
typedef BOOST_CONTAINER_IMPDEF(movable_value_type_impl) movable_value_type;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -917,15 +917,15 @@ class multimap
|
|||||||
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(value_compare_impl) value_compare;
|
typedef BOOST_CONTAINER_IMPDEF(value_compare_impl) value_compare;
|
||||||
typedef Compare key_compare;
|
typedef Compare key_compare;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::iterator) iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_iterator) const_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
||||||
typedef std::pair<key_type, mapped_type> nonconst_value_type;
|
typedef std::pair<key_type, mapped_type> nonconst_value_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(movable_value_type_impl) movable_value_type;
|
typedef BOOST_CONTAINER_IMPDEF(movable_value_type_impl) movable_value_type;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@@ -32,6 +32,7 @@ struct new_allocator_bool
|
|||||||
template<class T>
|
template<class T>
|
||||||
class new_allocator;
|
class new_allocator;
|
||||||
|
|
||||||
|
//! Specialization of new_allocator for void types
|
||||||
template<>
|
template<>
|
||||||
class new_allocator<void>
|
class new_allocator<void>
|
||||||
{
|
{
|
||||||
@@ -39,8 +40,10 @@ class new_allocator<void>
|
|||||||
typedef void value_type;
|
typedef void value_type;
|
||||||
typedef void * pointer;
|
typedef void * pointer;
|
||||||
typedef const void* const_pointer;
|
typedef const void* const_pointer;
|
||||||
typedef new_allocator_bool<true> propagate_on_container_move_assignment;
|
//!A integral constant of type bool with value true
|
||||||
typedef new_allocator_bool<true> is_always_equal;
|
typedef BOOST_CONTAINER_IMPDEF(new_allocator_bool<true>) propagate_on_container_move_assignment;
|
||||||
|
//!A integral constant of type bool with value true
|
||||||
|
typedef BOOST_CONTAINER_IMPDEF(new_allocator_bool<true>) is_always_equal;
|
||||||
// reference-to-void members are impossible
|
// reference-to-void members are impossible
|
||||||
|
|
||||||
//!Obtains an new_allocator that allocates
|
//!Obtains an new_allocator that allocates
|
||||||
@@ -96,8 +99,10 @@ class new_allocator
|
|||||||
typedef const T & const_reference;
|
typedef const T & const_reference;
|
||||||
typedef std::size_t size_type;
|
typedef std::size_t size_type;
|
||||||
typedef std::ptrdiff_t difference_type;
|
typedef std::ptrdiff_t difference_type;
|
||||||
typedef new_allocator_bool<true> propagate_on_container_move_assignment;
|
//!A integral constant of type bool with value true
|
||||||
typedef new_allocator_bool<true> is_always_equal;
|
typedef BOOST_CONTAINER_IMPDEF(new_allocator_bool<true>) propagate_on_container_move_assignment;
|
||||||
|
//!A integral constant of type bool with value true
|
||||||
|
typedef BOOST_CONTAINER_IMPDEF(new_allocator_bool<true>) is_always_equal;
|
||||||
|
|
||||||
//!Obtains an new_allocator that allocates
|
//!Obtains an new_allocator that allocates
|
||||||
//!objects of type T2
|
//!objects of type T2
|
||||||
|
@@ -923,24 +923,24 @@ class scoped_allocator_adaptor
|
|||||||
typedef typename outer_traits_type::void_pointer void_pointer;
|
typedef typename outer_traits_type::void_pointer void_pointer;
|
||||||
typedef typename outer_traits_type::const_void_pointer const_void_pointer;
|
typedef typename outer_traits_type::const_void_pointer const_void_pointer;
|
||||||
//! Type: A type with a constant boolean <code>value</code> == true if
|
//! Type: A type with a constant boolean <code>value</code> == true if
|
||||||
//!<code>allocator_traits<Allocator>::propagate_on_container_copy_assignment::value</code> is
|
//!`allocator_traits<Allocator>::propagate_on_container_copy_assignment::value` is
|
||||||
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
||||||
typedef typename base_type::
|
typedef typename base_type::
|
||||||
propagate_on_container_copy_assignment propagate_on_container_copy_assignment;
|
propagate_on_container_copy_assignment propagate_on_container_copy_assignment;
|
||||||
//! Type: A type with a constant boolean <code>value</code> == true if
|
//! Type: A type with a constant boolean <code>value</code> == true if
|
||||||
//!<code>allocator_traits<Allocator>::propagate_on_container_move_assignment::value</code> is
|
//!`allocator_traits<Allocator>::propagate_on_container_move_assignment::value` is
|
||||||
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
||||||
typedef typename base_type::
|
typedef typename base_type::
|
||||||
propagate_on_container_move_assignment propagate_on_container_move_assignment;
|
propagate_on_container_move_assignment propagate_on_container_move_assignment;
|
||||||
|
|
||||||
//! Type: A type with a constant boolean <code>value</code> == true if
|
//! Type: A type with a constant boolean <code>value</code> == true if
|
||||||
//!<code>allocator_traits<Allocator>::propagate_on_container_swap::value</code> is
|
//! `allocator_traits<Allocator>::propagate_on_container_swap::value` is
|
||||||
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
//! true for any <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
||||||
typedef typename base_type::
|
typedef typename base_type::
|
||||||
propagate_on_container_swap propagate_on_container_swap;
|
propagate_on_container_swap propagate_on_container_swap;
|
||||||
|
|
||||||
//! Type: A type with a constant boolean <code>value</code> == true if
|
//! Type: A type with a constant boolean <code>value</code> == true if
|
||||||
//!<code>allocator_traits<Allocator>::is_always_equal::value</code> is
|
//!`allocator_traits<Allocator>::is_always_equal::value` is
|
||||||
//! true for all <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
//! true for all <code>Allocator</code> in the set of <code>OuterAlloc</code> and <code>InnerAllocs...</code>, false otherwise.
|
||||||
typedef typename base_type::
|
typedef typename base_type::
|
||||||
is_always_equal is_always_equal;
|
is_always_equal is_always_equal;
|
||||||
|
@@ -91,11 +91,11 @@ class set
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::iterator) iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_iterator) const_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -747,11 +747,11 @@ class multiset
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::iterator) iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_iterator) const_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
|
||||||
typedef typename BOOST_MOVE_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
|
||||||
|
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@@ -195,9 +195,9 @@ class slist
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(NodeAlloc) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(NodeAlloc) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@@ -507,10 +507,10 @@ class stable_vector
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef node_allocator_type stored_allocator_type;
|
typedef node_allocator_type stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
private:
|
private:
|
||||||
|
@@ -542,11 +542,11 @@ class basic_string
|
|||||||
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
||||||
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(allocator_type) stored_allocator_type;
|
typedef BOOST_CONTAINER_IMPDEF(allocator_type) stored_allocator_type;
|
||||||
typedef BOOST_MOVE_IMPDEF(pointer) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(pointer) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_pointer) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_pointer) const_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
||||||
static const size_type npos = size_type(-1);
|
static const size_type npos = size_type(-1);
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
@@ -601,14 +601,14 @@ class vector
|
|||||||
typedef Allocator allocator_type;
|
typedef Allocator allocator_type;
|
||||||
typedef Allocator stored_allocator_type;
|
typedef Allocator stored_allocator_type;
|
||||||
#if defined BOOST_CONTAINER_VECTOR_ITERATOR_IS_POINTER
|
#if defined BOOST_CONTAINER_VECTOR_ITERATOR_IS_POINTER
|
||||||
typedef BOOST_MOVE_IMPDEF(pointer) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(pointer) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_pointer) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_pointer) const_iterator;
|
||||||
#else
|
#else
|
||||||
typedef BOOST_MOVE_IMPDEF(iterator_impl) iterator;
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(const_iterator_impl) const_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
||||||
#endif
|
#endif
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
||||||
typedef BOOST_MOVE_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user