Template Struct Expect

Inheritance Relationships

Derived Types

Struct Documentation

template<typename Derived>
struct Expect

Subclassed by iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, ErrorType >, iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, void >

Public Functions

void expect(const char *const msg) const noexcept

Expects that the object is valid, otherwise the method prints the provided message and induces a fatal error.

Parameters:

msg[in] Message which will be printed when the object is invalid