Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITReaction.cc File Reference
#include <G4ITReaction.hh>
#include "globals.hh"

Go to the source code of this file.

Functions

template<class T >
void hash_combine (std::size_t &seed, const T &v)
 

Function Documentation

◆ hash_combine()

template<class T >
void hash_combine ( std::size_t &  seed,
const T &  v 
)
inline

Definition at line 54 of file G4ITReaction.cc.

56{
57// std::hash<T> hasher;
58 seed ^= /*std::hash<T>(v)*/ v + 0x9e3779b9 + (seed << 6) + (seed >> 2);
59}

Referenced by G4ITReaction::GetHash().