FE 0.15.0
A C++23 toolkit for writing compiler/interpreter frontends.
Loading...
Searching...
No Matches
fe::Sym::String::Hash Struct Reference

Hashes the characters, not the pointer - String::Equal compares them, and the two have to agree. More...

#include <fe/sym.h>

Public Member Functions

size_t operator() (const String *s) const noexcept

Detailed Description

Hashes the characters, not the pointer - String::Equal compares them, and the two have to agree.

Definition at line 60 of file sym.h.

Member Function Documentation

◆ operator()()

size_t fe::Sym::String::Hash::operator() ( const String * s) const
inlinenoexcept

Definition at line 61 of file sym.h.

References fe::hash_begin(), and fe::Sym::String::String().


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