Lumiera
0.pre.03
»edit your freedom«
|
std::hash
template.Currently (as of 2014) this requires us to "hijack" the standard library definition to defeat a static assertion, which otherwise would defeat any attempts based on SFINAE
This test builds two custom types, one with a std::hash compliant hash function extension point, the other one with a boost::hash style custom hash function, to be picked up by ADL. By virtue of the automatic bridging template, we're able to use the boost-style definition at places where the std::hash is expected – most notably in STL hashtable containers.
Definition at line 134 of file hash-standard-to-boost-bridge-test.cpp.
Private Member Functions | |
void | checkHashFunctionInvocation () |
void | checkHashtableUsage () |
virtual void | run (Arg) |