Public Types | Public Member Functions | List of all members
absl::optional_internal::optional_hash_base< T, decltype(std::hash< absl::remove_const_t< T > >()(std::declval< absl::remove_const_t< T > >()))> Struct Template Reference

#include <optional.h>

Public Types

using argument_type = absl::optional< T >
 
using result_type = size_t
 

Public Member Functions

size_t operator() (const absl::optional< T > &opt) const
 

Detailed Description

template<typename T>
struct absl::optional_internal::optional_hash_base< T, decltype(std::hash< absl::remove_const_t< T > >()(std::declval< absl::remove_const_t< T > >()))>

Definition at line 375 of file internal/optional.h.

Member Typedef Documentation

◆ argument_type

template<typename T >
using absl::optional_internal::optional_hash_base< T, decltype(std::hash< absl::remove_const_t< T > >()(std::declval< absl::remove_const_t< T > >()))>::argument_type = absl::optional<T>

Definition at line 377 of file internal/optional.h.

◆ result_type

template<typename T >
using absl::optional_internal::optional_hash_base< T, decltype(std::hash< absl::remove_const_t< T > >()(std::declval< absl::remove_const_t< T > >()))>::result_type = size_t

Definition at line 378 of file internal/optional.h.

Member Function Documentation

◆ operator()()

template<typename T >
size_t absl::optional_internal::optional_hash_base< T, decltype(std::hash< absl::remove_const_t< T > >()(std::declval< absl::remove_const_t< T > >()))>::operator() ( const absl::optional< T > &  opt) const
inline

Definition at line 379 of file internal/optional.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23