top | up | prev | next

ArrayKeyHash Struct

Definition at line 90 of SymbolTable.hpp

Member Functions

size_t operator()(const ArrayKey& key) const

Member Function Details

operator() Member Function

size_t cmajor::symbols::ArrayKeyHash::operator()(const ArrayKey & key) const

Definition at line 92 of SymbolTable.hpp :
 93 {
 94     size_t x = boost::hash<boost::uuids::uuid>()(key.elementType->TypeId());
 95     x = x ^ std::hash<int64_t>()(key.size);
 96     return x;
 97 }


Calls: cmajor::symbols::TypeSymbol::TypeId


top | up | prev | next