Template Class BasicResult
Defined in File catch_amalgamated.hpp
Inheritance Relationships
Base Type
public Catch::Clara::Detail::ResultValueBase< void >
(Template Class ResultValueBase)
Class Documentation
-
template<typename T = void>
class BasicResult : public Catch::Clara::Detail::ResultValueBase<void> Public Functions
-
template<typename U>
inline explicit BasicResult(BasicResult<U> const &other)
-
inline explicit operator bool() const
-
inline auto type() const -> ResultType
-
inline auto errorMessage() const -> std::string const&
Public Static Functions
-
template<typename U>
static inline auto ok(U &&value) -> BasicResult
-
static inline auto ok() -> BasicResult
-
static inline auto logicError(std::string &&message) -> BasicResult
-
static inline auto runtimeError(std::string &&message) -> BasicResult
Protected Functions
-
inline virtual void enforceOk() const override
-
inline BasicResult(ResultType type, std::string &&message)
-
template<typename U>