The assertion
Struct Template Reference
Assertion struct template for parameter passing to the evaluator. More...
Declaration
template <class Expr_T>
struct micro_os_plus::micro_test_plus::detail::assertion<Expr_T>
Included Headers
#include <micro-os-plus/micro-test-plus.h>
Public Member Attributes Index
template <class Expr_T> | |
Expr_T | expr {} |
The expression under evaluation. More... | |
template <class Expr_T> | |
reflection::source_location | location {} |
The source location associated with the assertion. More... | |
Description
Assertion struct template for parameter passing to the evaluator.
- Template Parameters
Expr_T The type of the expression being asserted.
The assertion
struct template is used to encapsulate assertion parameters, including the expression under evaluation and its associated source location. This design enables precise reporting and diagnostics within the framework.
The structure is intended exclusively for internal use and is implemented in the include/micro-os-plus/micro-test-plus
folder to maintain a structured and modular codebase.
Definition at line 112 of file detail.h.
Public Member Attributes
expr
|
location
The documentation for this struct was generated from the following file:
Generated via docusaurus-plugin-doxygen by Doxygen 1.14.0.