The Gaudi Framework  master (ff829712)
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 28 of file StringKey.h.

Member Typedef Documentation

◆ is_transparent

Definition at line 29 of file StringKey.h.

Member Function Documentation

◆ operator()()

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

Definition at line 30 of file StringKey.h.

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

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