CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
std::hash< std::pair< unsigned int, unsigned int > > Struct Template Reference

#include <PFBlockAlgo.h>

Public Types

typedef std::pair< unsigned int, unsigned int > arg_type
 
typedef unsigned int value_type
 

Public Member Functions

value_type operator() (const arg_type &arg) const
 

Detailed Description

template<>
struct std::hash< std::pair< unsigned int, unsigned int > >

Definition at line 21 of file PFBlockAlgo.h.

Member Typedef Documentation

typedef std::pair<unsigned int,unsigned int> std::hash< std::pair< unsigned int, unsigned int > >::arg_type

Definition at line 22 of file PFBlockAlgo.h.

typedef unsigned int std::hash< std::pair< unsigned int, unsigned int > >::value_type

Definition at line 23 of file PFBlockAlgo.h.

Member Function Documentation

value_type std::hash< std::pair< unsigned int, unsigned int > >::operator() ( const arg_type arg) const
inline

Definition at line 24 of file PFBlockAlgo.h.

24  {
25  return arg.first ^ (arg.second << 1);
26  }
A arg
Definition: Factorize.h:38