Epok Engine

EPOK RUNTIME

epok::ui_anchor::detail::add

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

Adds add as part of the ui anchor service module.

Belongs to
epok::ui_anchor::detail
Header
ui_anchor_service.hpp
Overloads
1

Declaration

Declaration
inline bool add(Fixed a,Fixed b,Fixed& out)

Adds add as part of the ui anchor service module.

ParameterTypeMeaning
aFixedNot documented; consult the linked header.
bFixedNot documented; consult the linked header.
outFixed &Not documented; consult the linked header.

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

Example sketch

C++ example
#include "ui_anchor_service.hpp"

// Assume these named values have been initialized with valid data:
// Fixed a
// Fixed b
// Fixed & out

auto result = epok::ui_anchor::detail::add(a, b, out);

Trade-offs and warnings

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

Declared in runtime/ui_anchor_service.hpp:16

Related members