| 8999 | public: |
| 9000 | template<typename U> |
| 9001 | explicit BasicResult( BasicResult<U> const &other ) |
| 9002 | : ResultValueBase<T>( other.type() ), |
| 9003 | m_errorMessage( other.errorMessage() ) |
| 9004 | { |
| 9005 | assert( type() != ResultBase::Ok ); |
| 9006 | } |
| 9007 | |
| 9008 | template<typename U> |
| 9009 | static auto ok( U const &value ) -> BasicResult { return { ResultBase::Ok, value }; } |
nothing calls this directly
no test coverage detected