Skip to main content

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

Public Member Attributes Index

template <class Expr_T>
Expr_Texpr {}

The expression under evaluation. More...

template <class Expr_T>
reflection::source_locationlocation {}

The source location associated with the assertion. More...

Description

Assertion struct template for parameter passing to the evaluator.

Template Parameters
Expr_TThe 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

template <class Expr_T>
Expr_T micro_os_plus::micro_test_plus::detail::assertion< Expr_T >::expr {}

The expression under evaluation.

Definition at line 117 of file detail.h.

location

template <class Expr_T>
reflection::source_location micro_os_plus::micro_test_plus::detail::assertion< Expr_T >::location {}

The source location associated with the assertion.

Definition at line 122 of file detail.h.


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


Generated via docusaurus-plugin-doxygen by Doxygen 1.14.0.