Template Struct hash< lsst::afw::typehandling::PolymorphicValue >

Struct Documentation

template<>
struct hash<lsst::afw::typehandling::PolymorphicValue>

Hash specialization for PolymorphicValue.

Return

the hash of the Storable inside the PolymorphicValue, or an arbitrary value if it is empty

Exceptions
  • UnsupportedOperationException: Thrown if the Storable is not hashable.

Public Types

template<>
using argument_type = lsst::afw::typehandling::PolymorphicValue
template<>
using result_type = size_t

Public Functions

size_t operator()(argument_type const &obj) const