|
Bifrost SDK
Bifrost SDK documentation
|
Hash functor for Amino::Ptr. More...
#include <Ptr.h>
Public Types | |
| using | argument_type = Amino::Ptr< T > |
| using | result_type = size_t |
Public Member Functions | |
| result_type | operator() (const argument_type &ptr) const noexcept |
Hash functor for Amino::Ptr.
This is a specialization of std::hash for Amino::Ptr<T>. It allows users users to obtain a default functor for the unordered std containers. The hash function is based on the pointer value (i.e. Amino::Ptr<T>::get()).
| T | the Amino::Ptr element_type |
| using std::hash< Amino::Ptr< T > >::argument_type = Amino::Ptr<T> |
| using std::hash< Amino::Ptr< T > >::result_type = size_t |
|
inlinenoexcept |