9 Jan
2015
9 Jan
'15
8:45 p.m.
On 9 January 2015 at 20:30, Peter Dimov
There is also the option of just returning hash_value( x.native() ). This would require a forward declaration of hash_value for string.
I wanted hash_fwd.hpp to depend on minimal standard headers. My preference is to use something like: 'boost::hash<T> hasher; return hasher(x.native())'. Could possibly add a convenience function, maybe 'call_hash'.