Epok Engine

EPOK RUNTIME

epok::bp::Vector::operator[]

Method · 2 overloads

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.

Method

Performs `operator []` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp::Vector
Header
blueprint_runtime.hpp
Overloads
2

Declaration 1 of 2

Declaration
Fixed& operator[](size_t index)

Performs `operator []` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
indexsize_tNot documented; consult the linked header.

Returns: Fixed &. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

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

epok::bp::Vector& object = /* obtain a valid instance */;

auto result = object.operator[](index);

Trade-offs and warnings

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

Declared in runtime/blueprint_runtime.hpp:48

Declaration 2 of 2

const
Declaration
const Fixed& operator[](size_t index) const

Performs `operator []` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
indexsize_tNot documented; consult the linked header.

Returns: const Fixed &. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

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

epok::bp::Vector& object = /* obtain a valid instance */;

auto result = object.operator[](index);

Trade-offs and warnings

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

Declared in runtime/blueprint_runtime.hpp:49