libfxd 0.2.dev
A fixed-point library for C++.
Loading...
Searching...
No Matches
hash< Fxd > Struct Template Reference

Specialization: std::hash<fxd::fixed>. More...

#include <hash.hpp>

Public Member Functions

constexpr size_t operator() (Fxd f) const noexcept
 Calculate a hash value.
 

Detailed Description

template<fxd::fixed_point Fxd>
struct std::hash< Fxd >

Specialization: std::hash<fxd::fixed>.

Definition at line 20 of file hash.hpp.

Member Function Documentation

◆ operator()()

constexpr size_t operator() ( Fxd  f) const
inlineconstexprnoexcept

Calculate a hash value.

Definition at line 25 of file hash.hpp.


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