| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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 312 of file StringKey.h.

## Member Function Documentation

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

Definition at line 313 of file StringKey.h.

313 {
314 return hash_value(s);
315 }
Gaudi::hash_value
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
Definition: StringKey.h:216
gaudirun.s
string s
Definition: gaudirun.py:245

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

- GaudiKernel/GaudiKernel/StringKey.h