18 #ifndef itkStructHashFunction_h
19 #define itkStructHashFunction_h
39 template<
typename TInput >
53 template<
typename TInput >
59 const auto * p =
reinterpret_cast< const char *
>( &key );
65 hash += ( hash >> 5 );
70 #endif // ndef itkStructHashFunction_h
IdentifierType operator()(const InputType &key) const
SizeValueType IdentifierType
Generic hash function for an arbitrary struct (or class).