top | up | prev | next

ViableFunctionSet Class

Definition at line 31 of FunctionSymbol.hpp

Member Functions

const std::unordered_set<FunctionSymbol*, FunctionSymbolHash, FunctionSymbolsEqual>& Get() const
void Insert(FunctionSymbol* fun)

Member Variables

std::unordered_set<FunctionSymbol*, FunctionSymbolHash, FunctionSymbolsEqual> set

Member Function Details

Get Member Function

const std::unordered_set<FunctionSymbol *, FunctionSymbolHash , FunctionSymbolsEqual >& cmajor::symbols::ViableFunctionSet::Get() const

Definition at line 34 of FunctionSymbol.hpp :
 34 { return set; }


Insert Member Function

void cmajor::symbols::ViableFunctionSet::Insert(FunctionSymbol * fun)

Definition at line 115 of FunctionSymbol.cpp :
 116 {
 117     auto it = set.find(fun);
 118     if (it != set.cend())
 119     {
 120         set.erase(it);
 121     }
 122     set.insert(fun);
 123 }


Declaration at line 35 of FunctionSymbol.hpp

Called by: cmajor::symbols::FunctionGroupSymbol::CollectViableFunctions


top | up | prev | next