SILICON
Loading...
Searching...
No Matches
TransparentStringEqual Struct Reference

Transparent equality functor for string-like keys. More...

#include <transparent_string.hpp>

Public Types

using is_transparent = void

Public Member Functions

bool operator() (std::string_view lhs, std::string_view rhs) const noexcept

Detailed Description

Transparent equality functor for string-like keys.

This companion to TransparentStringHash compares any two string-like values through std::string_view, making heterogeneous lookup consistent and allocation-free for compatible inputs.

Definition at line 66 of file transparent_string.hpp.

Member Typedef Documentation

◆ is_transparent

using is_transparent = void

Definition at line 67 of file transparent_string.hpp.

Member Function Documentation

◆ operator()()

bool operator() ( std::string_view lhs,
std::string_view rhs ) const
inlinenodiscardnoexcept

Definition at line 69 of file transparent_string.hpp.


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