Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::ptr_set< Key, Compare, CloneAllocator, Allocator > Class Template Reference

#include <ptr_set.hpp>

Inheritance diagram for boost::ptr_set< Key, Compare, CloneAllocator, Allocator >:
Collaboration diagram for boost::ptr_set< Key, Compare, CloneAllocator, Allocator >:

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 Key key_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::auto_type 
auto_type
 
typedef BOOST_DEDUCED_TYPENAME
std::set< void
*, void_ptr_indirect_fun
< Compare, Key >, Allocator >
::allocator_type 
allocator_type
 

Public Member Functions

 ptr_set ()
 
 ptr_set (const Compare &comp, const Allocator &a=Allocator())
 
template<typename InputIterator >
 ptr_set (InputIterator first, InputIterator last)
 
template<typename InputIterator >
 ptr_set (InputIterator first, InputIterator last, const Compare &comp, const Allocator &a=Allocator())
 
std::pair< iterator, bool > insert (key_type *x)
 
std::pair< iterator, bool > insert (std::auto_ptr< U > x)
 
iterator insert (iterator where, key_type *x)
 
iterator insert (iterator where, std::auto_ptr< U > x)
 
void insert (InputIterator first, InputIterator last)
 
BOOST_DEDUCED_TYPENAME
boost::disable_if
< ptr_container_detail::is_pointer_or_integral
< Range > >::type 
insert (const Range &r)
 
bool transfer (BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator object, PtrSetAdapter &from)
 
size_type transfer (BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator last, PtrSetAdapter &from)
 
BOOST_DEDUCED_TYPENAME
boost::disable_if
< boost::is_same< Range,
BOOST_DEDUCED_TYPENAME
PtrSetAdapter::iterator >
, size_type >::type 
transfer (const Range &r, PtrSetAdapter &from)
 
size_type transfer (PtrSetAdapter &from)
 
size_type erase (const key_type &x)
 
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< iteratorequal_range (const key_type &x)
 
iterator_range< const_iteratorequal_range (const key_type &x) const
 

Protected Member Functions

size_type bucket (const key_type &key) const
 

Member Typedef Documentation

typedef BOOST_DEDUCED_TYPENAME std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > ::allocator_type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::allocator_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::auto_type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::auto_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::const_iterator boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::const_iterator
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::iterator boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::iterator
inherited
typedef Key boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::key_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::size_type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::size_type
inherited

Constructor & Destructor Documentation

template<class Key, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_set< Key, Compare, CloneAllocator, Allocator >::ptr_set ( )
inline
template<class Key, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_set< Key, Compare, CloneAllocator, Allocator >::ptr_set ( const Compare &  comp,
const Allocator &  a = Allocator() 
)
inlineexplicit
template<class Key, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
template<typename InputIterator >
boost::ptr_set< Key, Compare, CloneAllocator, Allocator >::ptr_set ( InputIterator  first,
InputIterator  last 
)
inline
template<class Key, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
template<typename InputIterator >
boost::ptr_set< Key, Compare, CloneAllocator, Allocator >::ptr_set ( InputIterator  first,
InputIterator  last,
const Compare &  comp,
const Allocator &  a = Allocator() 
)
inline

Member Function Documentation

size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::bucket ( const key_type key) const
inlineprotectedinherited
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::count ( const key_type x) const
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::find ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::find ( const key_type x) const
inlineinherited
std::pair<iterator,bool> boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( key_type x)
inlineinherited
std::pair<iterator,bool> boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( std::auto_ptr< U >  x)
inlineinherited
iterator boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( iterator  where,
key_type x 
)
inlineinherited
iterator boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( iterator  where,
std::auto_ptr< U >  x 
)
inlineinherited
void boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( InputIterator  first,
InputIterator  last 
)
inlineinherited
BOOST_DEDUCED_TYPENAME boost::disable_if< ptr_container_detail::is_pointer_or_integral<Range> >::type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::insert ( const Range &  r)
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x) const
inlineinherited
bool boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  object,
PtrSetAdapter &  from 
)
inlineinherited
size_type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  first,
BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  last,
PtrSetAdapter &  from 
)
inlineinherited
BOOST_DEDUCED_TYPENAME boost::disable_if< boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator >, size_type >::type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( const Range &  r,
PtrSetAdapter &  from 
)
inlineinherited
size_type boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( PtrSetAdapter &  from)
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x) const
inlineinherited

The documentation for this class was generated from the following file: