Skip to main content

assertion Struct Template

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.

This structure encapsulates both the expression being tested and its associated source location. Used internally by the framework to pass assertion data through the evaluation pipeline, enabling accurate reporting of where assertions occur in test code.

Template Parameters
Expr_T

The type of the expression being asserted.

Definition at line 117 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 122 of file detail.h.

122 Expr_T expr{};

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 127 of file detail.h.


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


Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.