GGUI::NodeHandle struct

A node, as everything outside the storage holds it: its slot and the generation of the slot, so a stale handle is told apart from whatever reused the slot.

Public functions

auto IsNull() const -> bool
Whether it names no node. A stale handle isn't null: ask the storage (IsAlive).

Public variables

NodeIndex Index
its slot
uint32_t Generation
the slot's generation when it was made

Friends

auto operator==(NodeHandle a, NodeHandle b) -> bool defaulted
every member equal