cmoon::test::assert_exception::assert_exception





assert_exception(const std::string& what_arg);


(1)


assert_exception(const char* what_arg);


(2)


assert_exception(const assert_exception& other) noexcept;


(3)

1-2) Constructs an assert_exception with the given message.

3) Copy constructor.

Parameters

what_arg - message to be displayed on what() call
other - another exception object to copy

Exceptions

1-2) May throw std::bad_alloc