Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CrossAssetModel::cache_hasher Struct Reference

#include <qle/models/crossassetmodel.hpp>

+ Collaboration diagram for CrossAssetModel::cache_hasher:

Public Member Functions

std::size_t operator() (cache_key const &x) const
 

Detailed Description

Definition at line 466 of file crossassetmodel.hpp.

Member Function Documentation

◆ operator()()

std::size_t operator() ( cache_key const &  x) const

Definition at line 467 of file crossassetmodel.hpp.

467 {
468 std::size_t seed = 0;
469 boost::hash_combine(seed, x.i);
470 boost::hash_combine(seed, x.ccy);
471 boost::hash_combine(seed, x.t);
472 boost::hash_combine(seed, x.T);
473 return seed;
474 }