Identity-safe reference to a View captured across native event boundaries. More...
#include <view.hpp>
Public Member Functions | |
| void | set (View *view) noexcept |
| void | reset () noexcept |
| bool | has_value () const noexcept |
| View * | live_in (View &root) const noexcept |
Identity-safe reference to a View captured across native event boundaries.
Capturing records the root and current structure generation while the View is known-live. live_in() is therefore O(1) until a detach invalidates that generation; only the invalidation path walks the tree. The instance id closes allocator-address reuse (ABA) after an old realm is destroyed and a replacement view lands at the same address.
|
inlinenoexcept |
|
noexcept |
|
noexcept |