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

#include <ptr_unordered_set.hpp>

Inheritance diagram for boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >:
Collaboration diagram for boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >:

Public Types

typedef base_type::size_type size_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::iterator 
iterator
 
typedef BOOST_DEDUCED_TYPENAME
base_type::const_iterator 
const_iterator
 
typedef Key key_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::auto_type 
auto_type
 
typedef BOOST_DEDUCED_TYPENAME
boost::unordered_set< void
*, void_ptr_indirect_fun< Hash,
Key >, void_ptr_indirect_fun
< Pred, Key >, Allocator >
::allocator_type 
allocator_type
 

Public Member Functions

 ptr_unordered_set ()
 
 ptr_unordered_set (size_type n)
 
 ptr_unordered_set (size_type n, const Hash &comp, const Pred &pred=Pred(), const Allocator &a=Allocator())
 
template<typename InputIterator >
 ptr_unordered_set (InputIterator first, InputIterator last)
 
template<typename InputIterator >
 ptr_unordered_set (InputIterator first, InputIterator last, const Hash &comp, const Pred &pred=Pred(), const Allocator &a=Allocator())
 
 BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE (ptr_unordered_set, base_type, this_type) BOOST_PTR_CONTAINER_DEFINE_COPY_CONSTRUCTORS(ptr_unordered_set
 
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 boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > ::allocator_type boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::allocator_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::auto_type boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::auto_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::const_iterator boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::const_iterator
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::iterator boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::iterator
inherited
typedef Key boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::key_type
inherited
template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
typedef base_type::size_type boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::size_type

Constructor & Destructor Documentation

template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::ptr_unordered_set ( )
inline
template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::ptr_unordered_set ( size_type  n)
inlineexplicit
template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::ptr_unordered_set ( size_type  n,
const Hash &  comp,
const Pred &  pred = Pred(),
const Allocator &  a = Allocator() 
)
inline
template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
template<typename InputIterator >
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::ptr_unordered_set ( InputIterator  first,
InputIterator  last 
)
inline
template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
template<typename InputIterator >
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::ptr_unordered_set ( InputIterator  first,
InputIterator  last,
const Hash &  comp,
const Pred &  pred = Pred(),
const Allocator &  a = Allocator() 
)
inline

Member Function Documentation

template<class Key, class Hash = boost::hash<Key>, class Pred = std::equal_to<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator<void*>>
boost::ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >::BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE ( ptr_unordered_set< Key, Hash, Pred, CloneAllocator, Allocator >  ,
base_type  ,
this_type   
)
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::bucket ( const key_type key) const
inlineprotectedinherited
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::count ( const key_type x) const
inlineinherited
iterator_range<iterator> boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::equal_range ( const key_type x)
inlineinherited
iterator_range<const_iterator> boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::equal_range ( const key_type x) const
inlineinherited
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::erase ( const key_type x)
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::find ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::find ( const key_type x) const
inlineinherited
std::pair<iterator,bool> boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::insert ( key_type x)
inlineinherited
std::pair<iterator,bool> boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::insert ( std::auto_ptr< U >  x)
inlineinherited
iterator boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::insert ( iterator  where,
key_type x 
)
inlineinherited
iterator boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::insert ( iterator  where,
std::auto_ptr< U >  x 
)
inlineinherited
void boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, 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, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::insert ( const Range &  r)
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x) const
inlineinherited
bool boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  object,
PtrSetAdapter &  from 
)
inlineinherited
size_type boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, 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, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( const Range &  r,
PtrSetAdapter &  from 
)
inlineinherited
size_type boost::ptr_set_adapter< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::transfer ( PtrSetAdapter &  from)
inlineinherited
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, boost::unordered_set< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x) const
inlineinherited

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