AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
AeonGUI::StringLiteralHash Struct Reference

Hash functor for StringLiteral. More...

#include <aeongui/StringLiteral.hpp>

Public Member Functions

size_t operator() (const StringLiteral &Key) const noexcept
 Compute hash for a StringLiteral.

Detailed Description

Hash functor for StringLiteral.

Allows StringLiteral to be used as a key in std::unordered_map and similar containers.

Member Function Documentation

◆ operator()()

size_t AeonGUI::StringLiteralHash::operator() ( const StringLiteral & Key) const
inlinenoexcept

Compute hash for a StringLiteral.

Parameters
KeyThe key to hash.
Returns
Hash value.

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