| 5568 | public: |
| 5569 | template <typename U> |
| 5570 | explicit BasicResult(BasicResult<U> const &other) |
| 5571 | : ResultValueBase<T>(other.type()), m_errorMessage(other.errorMessage()) { |
| 5572 | assert(type() != ResultBase::Ok); |
| 5573 | } |
| 5574 | |
| 5575 | template <typename U> static auto ok(U const &value) -> BasicResult { |
| 5576 | return {ResultBase::Ok, value}; |
nothing calls this directly
no test coverage detected