|
piranha
0.10
|
Hashable type trait. More...
#include <piranha/type_traits.hpp>
Static Public Attributes | |
| static const bool | value = implementation_defined |
| Value of the type trait. | |
Hashable type trait.
This type trait will be true if T is hashable (after the removal of cv/ref qualifiers), false otherwise.
A type T is hashable when supplied with a specialisation of std::hash which satisfies piranha::is_hash_function_object.
Note that depending on the implementation of the default std::hash class, using this type trait with a type which does not provide a specialisation for std::hash could result in a compilation error (e.g., if the unspecialised std::hash includes a false static_assert).
Definition at line 739 of file type_traits.hpp.
1.8.14