lsst.afw  17.0.1-26-ga1fda76f0
Public Types | Public Member Functions | List of all members
std::hash< lsst::afw::typehandling::PolymorphicValue > Struct Template 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
 

Detailed Description

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

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 128 of file PolymorphicValue.h.

Member Typedef Documentation

◆ argument_type

Definition at line 129 of file PolymorphicValue.h.

◆ result_type

Definition at line 130 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 131 of file PolymorphicValue.h.


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