Searched refs:getErrorStorage (Results 1 – 1 of 1) sorted by relevance
103 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode)); in HasError()107 new (getErrorStorage()) std::error_code(EC); in ErrorOr()180 return HasError ? *getErrorStorage() : std::error_code(); in getError()205 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()237 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()272 std::error_code *getErrorStorage() { in getErrorStorage() function277 const std::error_code *getErrorStorage() const { in getErrorStorage() function278 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()