| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
std::hash< Gaudi::StringKey > Struct Template Reference

specialization of hash function used in C++11 collections like std::unordered_map More...

`#include <GaudiKernel/StringKey.h>`

## Public Member Functions
std::size_t | operator() (Gaudi::StringKey const &s) const

## Detailed Description

### template<>
struct std::hash< Gaudi::StringKey >

specialization of hash function used in C++11 collections like std::unordered_map

See also
  https://its.cern.ch/jira/browse/GAUDI-973

Definition at line 287 of file StringKey.h.

## Member Function Documentation

std::size_t std::hash< Gaudi::StringKey >::operator() | ( | Gaudi::StringKey const & | s | ) | const
| inline

Definition at line 288 of file StringKey.h.

288 { return hash_value( s ); }
Gaudi::hash_value
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
Definition: StringKey.h:207
gaudirun.s
string s
Definition: gaudirun.py:253

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

- GaudiKernel/GaudiKernel/StringKey.h