Searched defs:CoercionCost (Results 1 – 1 of 1) sorted by relevance
26 struct CoercionCost { struct27 static CoercionCost Free() { return { 0, 0, false }; } in Free() argument28 static CoercionCost Normal(int cost) { return { cost, 0, false }; } in Normal() argument29 static CoercionCost Narrowing(int cost) { return { 0, cost, false }; } in Narrowing() argument30 static CoercionCost Impossible() { return { 0, 0, true }; } in Impossible() argument37 CoercionCost operator+(CoercionCost rhs) const { argument49 int fNormalCost;50 int fNarrowingCost;51 bool fImpossible;