Function iter

Synopsis

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

template <typename Func>
T iter(Func &&func)

Description

No description yet.

Source

Lines 30-35 in include/flecs/addons/cpp/utils/node_builder.hpp.

template <typename Func>
T iter(Func&& func) {
    using Invoker = typename _::iter_invoker<
        typename std::decay<Func>::type, Components...>;
    return build<Invoker>(FLECS_FWD(func));
}