Searched refs:default_val (Results 1 – 1 of 1) sorted by relevance
178 T unwrapRet(Return<T>& ret, const U& default_val) { in unwrapRet() argument179 return (ret.isOk()) ? static_cast<T>(ret) : static_cast<T>(default_val); in unwrapRet()