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

Empty base struct for the framework expression types. More...

#include "micro-os-plus/micro-test-plus.h"

Inheritance diagram for micro_os_plus::micro_test_plus::detail::op:

Public Types

using op_type = op
 Marker identifying the framework expression types.

Detailed Description

The op struct is the common base of the comparators defined in detail.h, of floating_point_constant, and of named_bool. It provides the op_type marker, which the extension::is_op and extension::any_op concepts use to distinguish the framework types from the user types, so that expect(), require(), and the operators in the operators namespace accept them.

The types that must not have an empty base, like value_base, declare the op_type marker directly instead of deriving from op.

Definition at line 119 of file extension.h.

Member Typedef Documentation

◆ op_type

Detected by the extension::is_op concept, and inherited by all types derived from op.

Definition at line 128 of file extension.h.


The documentation for this struct was generated from the following file: