Epok Engine

PSYQO SDK

psyqo::Fragments::SimpleFragment::SimpleFragment<Prim>

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

constructor

Constructs `psyqo::Fragments::SimpleFragment` for the fragments module.

Belongs to
psyqo::Fragments::SimpleFragment
Header
fragments.hh
Overloads
2

Declaration 1 of 2

Declaration
explicit SimpleFragment(const SimpleFragment &) = default

Constructs `psyqo::Fragments::SimpleFragment` for the fragments module.

ParameterTypeMeaning
arg1const SimpleFragment<Prim> &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/fragments.hh"

// Assume these named values have been initialized with valid data:
// const SimpleFragment<Prim> & arg1

psyqo::Fragments::SimpleFragment value(arg1);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/fragments.hh:107

Declaration 2 of 2

template
Declaration
template <typename... Args> SimpleFragment(Args &&...args)

Performs `simple fragment<prim>` as part of the fragments module.

ParameterTypeMeaning
argsArgs &&...Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/fragments.hh"

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

// Assume these named values have been initialized with valid data:
// Args &&... args

psyqo::Fragments::SimpleFragment& object = /* obtain a valid instance */;

object.SimpleFragment<Prim><Args>(args);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/fragments.hh:102

Related members