Function cend

Synopsis

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

const_iterator cend() const noexcept

Description

Returns an iterator to the end.

The returned iterator points to the element following the last instance of the internal array. Attempting to dereference the returned iterator results in undefined behavior.

Returns
An iterator to the element following the last instance of the internal array.

Source

Lines 273-275 in src/entt/entity/storage.hpp.

[[nodiscard]] const_iterator cend() const ENTT_NOEXCEPT {
    return const_iterator{instances, {}};
}





Add Discussion

Log in to comment