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

Concept satisfied by the types that the formatter writes with one of its own member functions operator<<. More...

#include <expression-formatter.h>

Concept definition

template<class T>
concept member_printable = requires (expression_formatter& formatter, const T& value) {
formatter.operator<< (value);
}
Formats values and expressions into an owned string buffer.
Concept satisfied by the types that the formatter writes with one of its own member functions operato...
Struct template representing a generic value, accessible via a getter.
Definition deprecated.h:629

Detailed Description

The types that satisfy extension::printable but not this concept are the application types, written by a free operator<< found by argument-dependent lookup. A type may satisfy both, if it is accepted by a template of the formatter (a scoped enumeration, or a type with begin() and end()) and the application also defines an operator<< for it; see free_printable.

Template Parameters
TThe type to check.

Definition at line 1743 of file expression-formatter.h.