Skip to main content

member_printable Concept

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

Definition​

template <class T>
concept micro_os_plus::micro_test_plus::detail::member_printable = requires (expression_formatter& formatter, const T& value) {
            formatter.operator<< (value);
          }

Description​

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

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
T

The type to check.

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

  template<class T>
  concept member_printable = requires (expression_formatter& formatter, const T& value) {
  formatter.operator<< (value);
  }

Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.