Struct packed_storage_policy

Synopsis

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

struct packed_storage_policy

Description

Packed storage policy, aimed at faster linear iteration.

Source

Lines 144-157 in src/entt/entity/view.hpp.

struct packed_storage_policy {
    /**
    * @cond TURN_OFF_DOXYGEN
    * Internal details not to be documented.
    */
    template<typename Entity>
    [[nodiscard]] static constexpr bool accept(const Entity) ENTT_NOEXCEPT {
        return true;
    }
    /**
    * Internal details not to be documented.
    * @endcond
    */
};





Add Discussion

Log in to comment