libstdc++
std::hash< experimental::optional< _Tp > > Struct Template Reference

#include <optional>

Public Types

using argument_type
 
using result_type
 

Public Member Functions

size_t operator() (const experimental::optional< _Tp > &__t) const noexcept(noexcept(hash< _Tp > {}(*__t)))
 

Detailed Description

template<typename _Tp>
struct std::hash< experimental::optional< _Tp > >

std::hash partial specialization for experimental::optional

Definition at line 918 of file experimental/optional.

Member Typedef Documentation

◆ argument_type

template<typename _Tp>
using std::hash< experimental::optional< _Tp > >::argument_type

Definition at line 921 of file experimental/optional.

◆ result_type

template<typename _Tp>
using std::hash< experimental::optional< _Tp > >::result_type

Definition at line 920 of file experimental/optional.

Member Function Documentation

◆ operator()()

template<typename _Tp>
size_t std::hash< experimental::optional< _Tp > >::operator() ( const experimental::optional< _Tp > & __t) const
inlinenoexcept

Definition at line 924 of file experimental/optional.


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