VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::StringHash Struct Reference

#include <StringMap.hpp>

Public Types

using is_transparent = void

Public Member Functions

std::size_t operator() (std::string_view text) const

Detailed Description

Hashes std::string and std::string_view alike, so a StringMap looks up a view without a copy.

Definition at line 13 of file StringMap.hpp.

Member Typedef Documentation

◆ is_transparent

Definition at line 15 of file StringMap.hpp.

Member Function Documentation

◆ operator()()

std::size_t VoltMod::StringHash::operator() ( std::string_view text) const
inline

Definition at line 16 of file StringMap.hpp.


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