mpqc::utility::hash Struct Reference
Documentation
computes hash values for containers and std::pair
- Note
- replaces boost::hash for standard containers; std:hash is used to hash element values
Public Member Functions | |
hash ()=default | |
hash (const hash &)=default | |
hash (hash &&)=default | |
hash & | operator= (const hash &)=default |
hash & | operator= (hash &&)=default |
~hash ()=default | |
template<typename ConstIterRange > | |
std::enable_if_t< mpqc::detail::is_const_iterator_range< ConstIterRange >::value, std::size_t > | operator() (const ConstIterRange &v) const |
template<typename T1 , typename T2 > | |
std::size_t | operator() (const std::pair< T1, T2 > &v) const |
Constructor & Destructor Documentation
◆ hash() [1/3]
|
default |
◆ hash() [2/3]
|
default |
◆ hash() [3/3]
|
default |
◆ ~hash()
|
default |
Member Function Documentation
◆ operator()() [1/2]
template<typename ConstIterRange >
|
inline |
- Template Parameters
-
ConstIterRange any type for which {cbegin
,cend}(ConstIterRange&const) are well-defined
◆ operator()() [2/2]
template<typename T1 , typename T2 >
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this struct was generated from the following file:
- mpqc/util/core/hash.h