The Gaudi Framework  master (cc9a61f4)
Loading...
Searching...
No Matches
Gaudi::StringKeyHash Struct Reference

Transparent hash operator for heterogeneous lookups. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/StringKey.h>

Public Types

using is_transparent = void

Public Member Functions

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

Detailed Description

Transparent hash operator for heterogeneous lookups.

std::unordered_set<Gaudi::StringKey, Gaudi::StringKeyHash, std::equal_to<>> set;

Definition at line 29 of file StringKey.h.

Member Typedef Documentation

◆ is_transparent

Definition at line 30 of file StringKey.h.

Member Function Documentation

◆ operator()()

size_t Gaudi::StringKeyHash::operator() ( std::string_view s) const
inline

Definition at line 31 of file StringKey.h.

31{ return std::hash<std::string_view>{}( s ); }

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