half  2.2
IEEE 754-based half-precision floating-point library
hash< half_float::half > Struct Reference

Hash function for half-precision floats. More...

Public Types

typedef half_float::half argument_type
 Type of function argument.
 
typedef size_t result_type
 Function return type.
 

Public Member Functions

result_type operator() (argument_type arg) const
 Compute hash function. More...
 

Detailed Description

Hash function for half-precision floats.

This is only defined if C++11 std::hash is supported and enabled.

See also: Documentation for std::hash

Member Function Documentation

◆ operator()()

result_type operator() ( argument_type  arg) const
inline

Compute hash function.

Parameters
arghalf to hash
Returns
hash value

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