Epok Engine

EPOK RUNTIME

epok::descendant

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `descendant` as part of entity creation, activation and destruction.

Belongs to
epok
Header
lifecycle.hpp
Overloads
1

Declaration

Declaration
inline bool descendant(size_t child,size_t ancestor)

Performs `descendant` as part of entity creation, activation and destruction.

ParameterTypeMeaning
childsize_tNot documented; consult the linked header.
ancestorsize_tNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "lifecycle.hpp"

// Assume these named values have been initialized with valid data:
// size_t child
// size_t ancestor

auto result = epok::descendant(child, ancestor);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/lifecycle.hpp:69

Related members