Epok Engine

EPOK RUNTIME

epok::bp::sub

Function · 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.

Function

Performs `sub` as part of compiled Blueprint execution and object interaction.

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

Declaration 1 of 2

Declaration
inline Fixed sub(Fixed a, Fixed b)

Performs `sub` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aFixedNot documented; consult the linked header.
bFixedNot 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:
// Fixed a
// Fixed b

auto result = epok::bp::sub(a, b);

Trade-offs and warnings

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

Declared in runtime/blueprint_runtime.hpp:33

Declaration 2 of 2

template
Declaration
template<size_t Size> inline Vector<Size> sub(const Vector<Size>& a, const Vector<Size>& b)

Performs `sub` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aconst Vector<Size> &Not documented; consult the linked header.
bconst Vector<Size> &Not documented; consult the linked header.

Returns: Vector<Size>. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Size

// Assume these named values have been initialized with valid data:
// const Vector<Size> & a
// const Vector<Size> & b

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

auto result = object.sub<Size>(a, b);

Trade-offs and warnings

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

Declared in runtime/blueprint_runtime.hpp:54

Related members