libstdc++
std::__profile::unordered_set< _Key, _Hash, _Pred, _Alloc > Class Template Reference

Inherits unordered_set< _Key, _Hash, _Pred, _Alloc >, and std::__profile::_Unordered_profile< _UnorderedCont, _Unique_keys >.

Public Types

typedef _Base::allocator_type allocator_type
 
typedef _Base::const_iterator const_iterator
 
typedef _Base::const_reference const_reference
 
typedef _Base::difference_type difference_type
 
typedef _Base::hasher hasher
 
typedef _Base::iterator iterator
 
typedef _Base::key_equal key_equal
 
typedef _Base::key_type key_type
 
typedef _Base::reference reference
 
typedef _Base::size_type size_type
 
typedef _Base::value_type value_type
 

Public Member Functions

 unordered_set (size_type __n, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
 
template<typename _InputIterator >
 unordered_set (_InputIterator __f, _InputIterator __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
 
 unordered_set (const unordered_set &)=default
 
 unordered_set (const _Base &__x)
 
 unordered_set (unordered_set &&)=default
 
 unordered_set (const allocator_type &__a)
 
 unordered_set (const unordered_set &__uset, const allocator_type &__a)
 
 unordered_set (unordered_set &&__uset, const allocator_type &__a)
 
 unordered_set (initializer_list< value_type > __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
 
 unordered_set (size_type __n, const allocator_type &__a)
 
 unordered_set (size_type __n, const hasher &__hf, const allocator_type &__a)
 
template<typename _InputIterator >
 unordered_set (_InputIterator __first, _InputIterator __last, size_type __n, const allocator_type &__a)
 
template<typename _InputIterator >
 unordered_set (_InputIterator __first, _InputIterator __last, size_type __n, const hasher &__hf, const allocator_type &__a)
 
 unordered_set (initializer_list< value_type > __l, size_type __n, const allocator_type &__a)
 
 unordered_set (initializer_list< value_type > __l, size_type __n, const hasher &__hf, const allocator_type &__a)
 
void clear () noexcept
 
template<typename... _Args>
std::pair< iterator, bool > emplace (_Args &&...__args)
 
template<typename... _Args>
iterator emplace_hint (const_iterator __it, _Args &&...__args)
 
void insert (std::initializer_list< value_type > __l)
 
std::pair< iterator, bool > insert (const value_type &__obj)
 
iterator insert (const_iterator __iter, const value_type &__v)
 
std::pair< iterator, bool > insert (value_type &&__obj)
 
iterator insert (const_iterator __iter, value_type &&__v)
 
template<typename _InputIter >
void insert (_InputIter __first, _InputIter __last)
 
unordered_setoperator= (const unordered_set &)=default
 
unordered_setoperator= (unordered_set &&)=default
 
unordered_setoperator= (initializer_list< value_type > __l)
 
void rehash (size_type __n)
 
void swap (unordered_set &__x) noexcept(noexcept(__x._M_base().swap(__x)))
 

Protected Member Functions

void _M_profile_construct () noexcept
 
void _M_profile_destruct () noexcept
 
void _M_profile_resize (std::size_t __old_size)
 
void _M_swap (_Unordered_profile &__other) noexcept
 

Protected Attributes

__gnu_profile::__hashfunc_info_M_hashfunc_info
 
__gnu_profile::__container_size_info_M_size_info
 

Detailed Description

template<typename _Key, typename _Hash = std::hash<_Key>, typename _Pred = std::equal_to<_Key>, typename _Alloc = std::allocator<_Key>>
class std::__profile::unordered_set< _Key, _Hash, _Pred, _Alloc >

Unordered_set wrapper with performance instrumentation.

Definition at line 51 of file profile/unordered_set.


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