#include <ptr_map.hpp>
Public Types | |
typedef BOOST_DEDUCED_TYPENAME base_type::iterator | iterator |
typedef BOOST_DEDUCED_TYPENAME base_type::const_iterator | const_iterator |
typedef BOOST_DEDUCED_TYPENAME base_type::size_type | size_type |
typedef BOOST_DEDUCED_TYPENAME base_type::key_type | key_type |
typedef BOOST_DEDUCED_TYPENAME base_type::const_reference | const_reference |
typedef BOOST_DEDUCED_TYPENAME base_type::auto_type | auto_type |
typedef BOOST_DEDUCED_TYPENAME std::map< Key, void *, Compare, Allocator >::allocator_type | allocator_type |
typedef BOOST_DEDUCED_TYPENAME base_type::mapped_type | mapped_type |
typedef BOOST_DEDUCED_TYPENAME base_type::reference | mapped_reference |
typedef BOOST_DEDUCED_TYPENAME base_type::const_reference | const_mapped_reference |
typedef BOOST_DEDUCED_TYPENAME iterator_value< iterator > ::type | value_type |
typedef value_type | reference |
typedef value_type | pointer |
typedef const_reference | const_pointer |
Public Member Functions | |
ptr_map () | |
ptr_map (const Compare &comp, const Allocator &a=Allocator()) | |
template<class InputIterator > | |
ptr_map (InputIterator first, InputIterator last) | |
template<class InputIterator > | |
ptr_map (InputIterator first, InputIterator last, const Compare &comp, const Allocator &a=Allocator()) | |
BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE (ptr_map, base_type, this_type) template< class U > ptr_map(const ptr_map< Key | |
void | insert (InputIterator first, InputIterator last) |
void | insert (const Range &r) |
std::pair< iterator, bool > | insert (key_type &key, mapped_type x) |
std::pair< iterator, bool > | insert (const key_type &key, std::auto_ptr< U > x) |
iterator | insert (iterator before, ptr_container_detail::ref_pair< F, S > p) |
iterator | insert (iterator before, key_type &key, mapped_type x) |
iterator | insert (iterator before, const key_type &key, std::auto_ptr< U > x) |
bool | transfer (BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator object, PtrMapAdapter &from) |
size_type | transfer (BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator last, PtrMapAdapter &from) |
BOOST_DEDUCED_TYPENAME boost::disable_if < boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator > , size_type >::type | transfer (const Range &r, PtrMapAdapter &from) |
size_type | transfer (PtrMapAdapter &from) |
iterator | find (const key_type &x) |
const_iterator | find (const key_type &x) const |
size_type | count (const key_type &x) const |
iterator | lower_bound (const key_type &x) |
const_iterator | lower_bound (const key_type &x) const |
iterator | upper_bound (const key_type &x) |
const_iterator | upper_bound (const key_type &x) const |
iterator_range< iterator > | equal_range (const key_type &x) |
iterator_range< const_iterator > | equal_range (const key_type &x) const |
mapped_reference | at (const key_type &key) |
const_mapped_reference | at (const key_type &key) const |
mapped_reference | operator[] (const key_type &key) |
auto_type | replace (iterator where, mapped_type x) |
auto_type | replace (iterator where, std::auto_ptr< U > x) |
Public Attributes | |
U & | r: base_type( r ) { } ptr_map& operator=( ptr_map r ) { this->swap( r ) |
return * | this |
Protected Member Functions | |
size_type | bucket (const key_type &key) const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
boost::ptr_map< Key, T, Compare, CloneAllocator, Allocator >::BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE | ( | ptr_map< Key, T, Compare, CloneAllocator, Allocator > | , |
base_type | , | ||
this_type | |||
) | const |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
U& boost::ptr_map< Key, T, Compare, CloneAllocator, Allocator >::r |
return* boost::ptr_map< Key, T, Compare, CloneAllocator, Allocator >::this |