PStack
2.0
Stack trace printer for MSVC and GCC binaries
|
Forward the hash
functor along to the underlying handle type for psystem::unique_handle.
More...
#include <unique_handle.hpp>
Public Types | |
using | unique_handle_type = psystem::unique_handle< T, D, kInvalidHandle > |
Convenient name for shared_handle. | |
Public Member Functions | |
size_t | operator() (unique_handle_type const &value) const |
Invoke the hash functor. More... | |
Forward the hash
functor along to the underlying handle type for psystem::unique_handle.
This is primarily useful for containers of handles.
T | The handle type. |
D | The deleter type. |
kInvalidHandle | The value of an "invalid" handle. |
|
inline |
Invoke the hash functor.
[in] | value | The handle to obtain a hash for. |