Epok Engine

EPOK RUNTIME

epok::utility_actor_id

Function · 1 overload

Function

Performs `utility actor id` as part of the utility module.

Belongs to
epok
Header
utility.hpp
Overloads
1

Declaration

Declaration
inline ObjectId utility_actor_id(DataHandle value)

Performs `utility actor id` as part of the utility module.

ParameterTypeMeaning
valueDataHandleValue supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: ObjectId. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "utility.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle value

auto result = epok::utility_actor_id(value);

Why use it

It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/utility.hpp:156

Related members