lsst.afw g3a5ebb7d8a+28b83bf6a5
Loading...
Searching...
No Matches
std::hash< lsst::afw::typehandling::PolymorphicValue > Struct Reference

Hash specialization for PolymorphicValue. More...

#include <PolymorphicValue.h>

Public Types

using argument_type = lsst::afw::typehandling::PolymorphicValue
using result_type = size_t

Public Member Functions

size_t operator() (argument_type const &obj) const
hash (T... args)

Detailed Description

Hash specialization for PolymorphicValue.

Returns
the hash of the Storable inside the PolymorphicValue, or an arbitrary value if it is empty
Exceptions
UnsupportedOperationExceptionThrown if the Storable is not hashable.

Definition at line 167 of file PolymorphicValue.h.

Member Typedef Documentation

◆ argument_type

◆ result_type

Definition at line 169 of file PolymorphicValue.h.

Member Function Documentation

◆ operator()()

size_t std::hash< lsst::afw::typehandling::PolymorphicValue >::operator() ( argument_type const & obj) const
inline

Definition at line 170 of file PolymorphicValue.h.


The documentation for this struct was generated from the following file: