this completes the exploration; we should now be able to use any type with boost hash support in the std unordered containers without much ado. I wasn't able to come up with a completely modular solution, since the std::hash template has only one template parameter, which defeats using enable_if. But since we're controling the default implementation after the Hijacking anyway, we can as well go ahead directly to forward to an existing boost::hash function |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||