Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::hash< arene::base::monostate > Struct Reference

Implementation of std::hash for arene::base::monostate. More...

Inheritance diagram for std::hash< arene::base::monostate >:
Inheritance graph

Public Types

using argument_type = arene::base::monostate
 The argument type.
 
using result_type = std::size_t
 The result type.
 

Public Member Functions

constexpr auto operator() (arene::base::monostate const &) const noexcept -> std::size_t
 Compute the hash of a monostate instance.
 

Detailed Description

Implementation of std::hash for arene::base::monostate.

Member Typedef Documentation

◆ argument_type

The argument type.

◆ result_type

using std::hash< arene::base::monostate >::result_type = std::size_t

The result type.

Member Function Documentation

◆ operator()()

auto std::hash< arene::base::monostate >::operator() ( arene::base::monostate const & ) const -> std::size_t
inlineconstexprnoexcept

Compute the hash of a monostate instance.

Returns
The hash of a monostate instance.

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