| 7105 | public: |
| 7106 | template<typename U> |
| 7107 | explicit BasicResult( BasicResult<U> const &other ) |
| 7108 | : ResultValueBase<T>( other.type() ), |
| 7109 | m_errorMessage( other.errorMessage() ) |
| 7110 | { |
| 7111 | assert( type() != ResultBase::Ok ); |
| 7112 | } |
| 7113 | |
| 7114 | template<typename U> |
| 7115 | static auto ok( U const &value ) -> BasicResult { return { ResultBase::Ok, value }; } |
nothing calls this directly
no test coverage detected