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

Member Function Documentation

◆ operator()()

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

Definition at line 16 of file StringMap.hpp.

References VoltMod::ReadFile().


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