CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
std::hash_specialization< float > Struct Template Reference

#include <Utilities.h>

Public Types

typedef std::tuple< float > argument_type
 
typedef std::size_t result_type
 

Public Member Functions

result_type operator() (const argument_type &t) const
 

Detailed Description

template<>
struct std::hash_specialization< float >

Definition at line 97 of file Utilities.h.

Member Typedef Documentation

typedef std::tuple<float> std::hash_specialization< float >::argument_type

Definition at line 99 of file Utilities.h.

typedef std::size_t std::hash_specialization< float >::result_type

Definition at line 100 of file Utilities.h.

Member Function Documentation

result_type std::hash_specialization< float >::operator() ( const argument_type t) const
inline

Definition at line 101 of file Utilities.h.

References b, and protons_cff::t.

102  {
103  const uint32_t& b = reinterpret_cast<const uint32_t&>(std::get<0>(t));
104  return static_cast<result_type>(b);
105  }
double b
Definition: hdecay.h:120