Cogs.Core
Public Member Functions | List of all members
std::hash< Cogs::StringView > Struct Reference

Hash structure specialized to provide std compatible hashing of StringView instances. More...

#include <StdString.h>

Public Member Functions

size_t operator() (const Cogs::StringView &v) const noexcept
 Hash operator.
 

Detailed Description

Hash structure specialized to provide std compatible hashing of StringView instances.

Definition at line 77 of file StdString.h.

Member Function Documentation

◆ operator()()

size_t std::hash< Cogs::StringView >::operator() ( const Cogs::StringView v) const
inlinenoexcept

Hash operator.

Computes the hash of the given string view.

Definition at line 82 of file StdString.h.

References Cogs::hash().


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