micro-test-plus 6.0.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::message_argument Concept Reference

Concept satisfied when T can be appended to the message of a check. More...

#include <extension.h>

Concept definition

template<class T>
and not(std::is_class_v<T> and std::invocable<const T&>))
Concept satisfied when T is a callable object that returns a printable message.
Definition extension.h:694
Concept satisfied when T can be appended to the message of a check.
Definition extension.h:715
Concept satisfied when a type can be appended to the message of a check result via operator<<.
Definition extension.h:433

Detailed Description

Template Parameters
TThe type to be checked.

The message_argument concept is satisfied by a lazy_message, or by a value that satisfies extension::printable, except a class type callable without arguments that is not a lazy_message. A lambda without captures, which returns void or a value that cannot be written, converts to a function pointer and then to bool, so it would be written as true instead of being rejected; the message must be a value, or a callable object that returns one.

Definition at line 714 of file extension.h.