| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
GaudiUtils::Hash< T(&)[N]> Struct Template Reference

generic specialization for arrays More...

`#include <Hash.h>`

Inheritance diagram for GaudiUtils::Hash< T(&)[N]>:
[legend]
Collaboration diagram for GaudiUtils::Hash< T(&)[N]>:
[legend]

## Public Member Functions
std::size_t | operator() (T(&key)[N]) const
| the hash-function

## Additional Inherited Members
Public Types inherited from std::unary_function< T(&)[N], std::size_t >
typedef T(&) | argument_type
typedef std::size_t | result_type

## Detailed Description

### template<class T, unsigned N>
struct GaudiUtils::Hash< T(&)[N]>

generic specialization for arrays

Definition at line 118 of file Hash.h.

## Member Function Documentation

template<class T , unsigned N>

std::size_t GaudiUtils::Hash< T(&)[N]>::operator() | ( | T(&) | key[N] | ) | const
| inline

the hash-function

Definition at line 122 of file Hash.h.

{ return boost::hash_range ( key , key + N ) ; }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/Hash.h