The assertion
Struct Template Reference
Assertion struct template for parameter passing to the evaluator. More...
Declaration
Included Headers
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 source location associated with the assertion.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.