Porytiles
Loading...
Searching...
No Matches
std::hash< porytiles::DiagTempl > Struct Reference

Specialization of std::hash for porytiles::DiagTempl. More...

#include <diagnostics.hpp>

Public Member Functions

std::size_t operator() (const porytiles::DiagTempl &templ) const noexcept
 

Detailed Description

Specialization of std::hash for porytiles::DiagTempl.

This allows porytiles::DiagTempl objects to be used as keys in unordered STL containers like std::unordered_map and std::unordered_set. The hash value is computed by combining the hash of the template's name and its DiagLevel.

Definition at line 316 of file diagnostics.hpp.

Member Function Documentation

◆ operator()()

std::size_t std::hash< porytiles::DiagTempl >::operator() ( const porytiles::DiagTempl templ) const
inlinenoexcept

Definition at line 317 of file diagnostics.hpp.


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