ORIGINAL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< T > Struct Template Reference

std::hash specialization for isHashable types More...

#include <hash.h>

Collaboration diagram for std::hash< T >:
Collaboration graph

Public Member Functions

std::size_t operator() (const T &t) const noexcept
 Hash function operator for STL compatibility.
 

Detailed Description

template<typename T>
requires original::isHashable<T>
struct std::hash< T >

std::hash specialization for isHashable types

Template Parameters
TType that satisfies isHashable concept

Member Function Documentation

◆ operator()()

template<typename T >
requires original::isHashable<T>
std::size_t std::hash< T >::operator() ( const T &  t) const
noexcept

Hash function operator for STL compatibility.

Parameters
tThe object to hash
Returns
Hash value as std::size_t

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