Function count

Synopsis

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

int32_t count()

Description

No description yet.

Source

Lines 126-132 in include/flecs/addons/cpp/utils/iterable.hpp.

int32_t count() {
    int32_t result = 0;
    while (m_next_each(&m_it)) {
        result += m_it.count;
    }
    return result;
}