Files
scylladb/core
Avi Kivity 25168fc73d enum: fix std::hash<> non-specialization for enum types
SFINAE only works for substituted template parameters, not any complication
error (or it would be called CEINAE); therefore hash<T> for enums will fail
to compile, given a non-enum, rather than being ignored.

It's not possible to specialize hash<> for enums, since the primary template
does not have en extra Enable template argument for use with enable_if.  We
therefore rename it to enum_hash<> and require users to explicitly define
hash<MyEnum> as inheriting from it.
2015-03-01 13:36:30 +02:00
..
2015-02-19 18:55:43 +02:00
2015-02-19 16:58:54 +02:00
2015-02-19 16:58:54 +02:00
2015-02-25 19:29:36 -03:00