ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
hash< alib::boxing::Enum > Struct Reference

Description:


Specialization of functor std::hash for type Enum .

This specialization is provided with the inclusion of header file alib/compatibility/std_boxing_functional.hpp .
While the documentation indicates namespace alib::compatibility::std, the specialization is (as needed) implemented in namespace std.

Definition at line 116 of file std_boxing_functional.hpp.

#include <std_boxing_functional.hpp>

Public Method Index:

size_t operator() (const alib::boxing::Enum &src) const
 

Method Details:

◆ operator()()

size_t operator() ( const alib::boxing::Enum & src) const
inline

Calculates the hash code for class Enum.

Parameters
srcThe Enum object to hash.
Returns
The hash code.

Definition at line 123 of file std_boxing_functional.hpp.

Here is the call graph for this function:

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