Captured by value in a handler, tells whether the backend destroyed the handler while it ran.
More...
#include <backend_conformance.hpp>
Captured by value in a handler, tells whether the backend destroyed the handler while it ran.
Every copy of the handler holds its own sentinel; only the destruction of the copy that is running counts.
Definition at line 1078 of file backend_conformance.hpp.
◆ LifeSentinel()
| morph::ui::testing::detail::LifeSentinel::LifeSentinel |
( |
HandlerLife & | life | ) |
|
|
inlineexplicitnoexcept |
◆ ~LifeSentinel()
| morph::ui::testing::detail::LifeSentinel::~LifeSentinel |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
Copies the report target.
- Returns
- This sentinel.
◆ operator=() [2/2]
Copies the report target.
- Returns
- This sentinel.
◆ life()
| HandlerLife * morph::ui::testing::detail::LifeSentinel::life |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
The documentation for this class was generated from the following file: