BDE 4.14.0 Production release
|
#include <bdlb_transparenthash.h>
Public Types | |
typedef void | is_transparent |
Type alias indicating this is a transparent hash functor. | |
Public Member Functions | |
TransparentHash ()=default | |
Create a TransparentHash object. | |
TransparentHash (const TransparentHash &original)=default | |
~TransparentHash ()=default | |
Destroy this object. | |
TransparentHash & | operator= (const TransparentHash &rhs)=default |
template<class TYPE > | |
std::size_t | operator() (const TYPE &value) const |
This struct
defines a hash operation for different types, enabling them for use for heterogeneous lookup in the standard associative containers such as bsl::unordered_map
. Note that this class is an empty POD type.
typedef void bdlb::TransparentHash::is_transparent |
|
default |
|
default |
Create a TransparentHash
object. Note that as TransparentHash
is an empty (stateless) type, this operation has no observable effect.
|
default |
|
inline |
Return a hash code generated from the contents of the specified value
.
|
default |
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object. Note that as TransparentHash
is an empty (stateless) type, this operation has no observable effect.