Function array

Summary

#include <include/flecs/addons/cpp/utils/array.hpp>

(1) array()

(2) array(const T(&elems)[Size])

Function overload

Synopsis

#include <include/flecs/addons/cpp/utils/array.hpp>

array()

Description

No description yet.

Source

Lines 40-40 in include/flecs/addons/cpp/utils/array.hpp.

array() {};

Synopsis

#include <include/flecs/addons/cpp/utils/array.hpp>

array(const T(&elems)[Size])

Description

No description yet.

Source

Lines 42-47 in include/flecs/addons/cpp/utils/array.hpp.

array(const T (&elems)[Size]) {
    int i = 0;
    for (auto it = this->begin(); it != this->end(); ++ it) {
        *it = elems[i ++];
    }
}