Allocation-free diagnostics from local scenes abandoned during one factory invocation.
More...
#include <ui_scene.hpp>
|
|
std::optional< ManagedError > | failure |
| | First exact destructor cleanup failure, in destruction order.
|
|
std::size_t | droppedErrors {} |
| | Saturating count of later abandoned cleanup failures.
|
Allocation-free diagnostics from local scenes abandoned during one factory invocation.
◆ attach()
| std::size_t portals::ui::detail::FactoryCleanup::attach |
( |
ManagedError & | primary | ) |
const |
|
noexcept |
- Parameters
-
| primary | Existing factory failure whose typed cause and occupied cleanup slot are preserved. |
- Returns
- Saturating number of cleanup failures that could not fit the final envelope.
The documentation for this struct was generated from the following file: