BPHash
General object hashing library for C++
|
Hashing of std::unique_ptr and std::shared_ptr. More...
Go to the source code of this file.
Namespaces | |
bphash | |
Functions | |
template<typename T , typename Deleter > | |
PointerWrapper< T > | bphash::hash_pointer (const std::unique_ptr< T, Deleter > &ptr, size_t len=1) |
Create a wrapper around a unique_ptr. More... | |
template<typename T , typename Deleter > | |
PointerWrapper< T > | bphash::hash_pointer (const std::unique_ptr< T[], Deleter > &ptr, size_t len) |
Create a wrapper around a unique_ptr. More... | |
template<typename T > | |
PointerWrapper< T > | bphash::hash_pointer (const std::shared_ptr< T > &ptr, size_t len=1) |
Create a wrapper around a shared_ptr. More... | |
template<typename T , typename Deleter > | |
std::enable_if< is_hashable< T >::value, void >::type | bphash::hash_object (const std::unique_ptr< T, Deleter > &p, Hasher &h) |
Hashing of std::unique_ptr. More... | |
template<typename T > | |
std::enable_if< is_hashable< T >::value, void >::type | bphash::hash_object (const std::shared_ptr< T > &p, Hasher &h) |
Hashing of std::shared_ptr. More... | |
Hashing of std::unique_ptr and std::shared_ptr.
Definition in file memory.hpp.