Function rbegin

Synopsis

#include <src/entt/entity/group.hpp>

reverse_iterator rbegin() const noexcept

Description

Returns an iterator to the first entity of the reversed group.

The returned iterator points to the first entity of the reversed group. If the group is empty, the returned iterator will be equal to rend().

Return
An iterator to the first entity of the reversed group.

Source

Lines 724-726 in src/entt/entity/group.hpp.

[[nodiscard]] reverse_iterator rbegin() const ENTT_NOEXCEPT {
    return std::get<0>(pools)->basic_sparse_set<entity_type>::rbegin();
}





Add Discussion

Log in to comment