Template Struct hash< lsst::afw::typehandling::PolymorphicValue >¶
Defined in File PolymorphicValue.h
Struct Documentation¶
-
template<>
structhash
<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<>
usingargument_type
= lsst::afw::typehandling::PolymorphicValue¶
-
template<>
usingresult_type
= size_t¶
Public Functions
-
size_t
operator()
(argument_type const &obj) const