BPHash
General object hashing library for C++
|
Detects there is a free function that will hash an object. More...
#include <Detector.hpp>
Static Public Attributes | |
static const bool | value = std::is_same<decltype(test<T>(0)), Yes>::value |
Detects there is a free function that will hash an object.
This check is a little lax with respect to the signature of the free function, nor does the hasher have to be non-const, for example.
The first argument to hash_object
must be const, though.
Definition at line 62 of file Detector.hpp.
|
static |
Definition at line 74 of file Detector.hpp.