Searched refs:CastResultType (Results 1 – 2 of 2) sorted by relevance
346 using CastResultType = std::unique_ptr<349 static inline CastResultType doCast(std::unique_ptr<From> &&f) {350 return CastResultType((typename CastResultType::element_type *)f.release());353 static inline CastResultType castFailed() { return CastResultType(nullptr); }355 static inline CastResultType doCastIfPossible(std::unique_ptr<From> &&f) {772 LLVM_NODISCARD inline typename CastInfo<X, std::unique_ptr<Y>>::CastResultType787 LLVM_NODISCARD inline typename CastInfo<X, std::unique_ptr<Y>>::CastResultType
112 using CastResultType = T4; typedef113 static inline CastResultType doCast(const T3 &t) { return T4(t); } in doCast()114 static inline CastResultType castFailed() { return CastResultType(); } in castFailed()115 static inline CastResultType doCastIfPossible(const T3 &f) { in doCastIfPossible()