this turns out to be quite tough, since boost::hash just requires a free function 'hash_value' to be "somehow" present, which might be just through ADL. My solution is to inject an fallback declaration of such a function, but only in the namespace where the trait template is defined. Hopefully this never interferes with real hash functions defined for use by boost::hash |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||