| 6886 | public: |
| 6887 | template<typename U> |
| 6888 | explicit BasicResult( BasicResult<U> const &other ) |
| 6889 | : ResultValueBase<T>( other.type() ), |
| 6890 | m_errorMessage( other.errorMessage() ) |
| 6891 | { |
| 6892 | assert( type() != ResultBase::Ok ); |
| 6893 | } |
| 6894 | |
| 6895 | template<typename U> |
| 6896 | static auto ok( U const &value ) -> BasicResult { return { ResultBase::Ok, value }; } |
nothing calls this directly
no test coverage detected