STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
hash< optional< _Ty > > Struct Template Reference

Public Member Functions

size_t operator() (const optional< _Ty > &_Opt) const
 

Member Function Documentation

template<class _Ty >
size_t hash< optional< _Ty > >::operator() ( const optional< _Ty > &  _Opt) const
inline
733  {
734  constexpr size_t _Unspecified_value = 0;
735  return (_Opt ? hash<_Ty>{}(*_Opt) : _Unspecified_value);
736  }
Definition: xstddef:367

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