GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true > Struct Template Reference

Specialization 2 - The client requests that hash values be stored. More...

#include <hash_eq_fn.hpp>

Inheritance diagram for __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >:
Collaboration diagram for __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >:

Public Types

typedef Eq_Fn eq_fn_base
 
typedef _Alloc::template rebind< Key >::other key_allocator
 
typedef key_allocator::const_reference key_const_reference
 
typedef _Alloc::size_type size_type
 

Public Member Functions

 hash_eq_fn ()
 
 hash_eq_fn (const Eq_Fn &r_eq_fn)
 
bool operator() (key_const_reference r_lhs_key, size_type lhs_hash, key_const_reference r_rhs_key, size_type rhs_hash) const
 
void swap (const hash_eq_fn &other)
 

Detailed Description

template<typename Key, class Eq_Fn, class _Alloc>
struct __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >

Specialization 2 - The client requests that hash values be stored.

Member Typedef Documentation

template<typename Key , class Eq_Fn , class _Alloc >
typedef Eq_Fn __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::eq_fn_base
template<typename Key , class Eq_Fn , class _Alloc >
typedef _Alloc::template rebind<Key>::other __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::key_allocator
template<typename Key , class Eq_Fn , class _Alloc >
typedef key_allocator::const_reference __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::key_const_reference
template<typename Key , class Eq_Fn , class _Alloc >
typedef _Alloc::size_type __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::size_type

Constructor & Destructor Documentation

template<typename Key , class Eq_Fn , class _Alloc >
__gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::hash_eq_fn ( )
inline
template<typename Key , class Eq_Fn , class _Alloc >
__gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::hash_eq_fn ( const Eq_Fn r_eq_fn)
inline

Member Function Documentation

template<typename Key , class Eq_Fn , class _Alloc >
bool __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::operator() ( key_const_reference  r_lhs_key,
size_type  lhs_hash,
key_const_reference  r_rhs_key,
size_type  rhs_hash 
) const
inline

References _GLIBCXX_DEBUG_ASSERT.

template<typename Key , class Eq_Fn , class _Alloc >
void __gnu_pbds::detail::hash_eq_fn< Key, Eq_Fn, _Alloc, true >::swap ( const hash_eq_fn< Key, Eq_Fn, _Alloc, true > &  other)
inline

References std::__exception_ptr::swap().

Here is the call graph for this function:


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