Struct is_eto_eligible

Synopsis

#include <src/entt/core/type_traits.hpp>

template<typename Type, typename = void>
struct is_eto_eligible
    : ENTT_IS_EMPTY(Type)

Description

Provides the member constant value to true if a given type is empty and the empty type optimization is enabled, false otherwise.

Template Parameters:

Type - Potential empty type.

Inheritance

Ancestors: std::is_empty< Type >

Source

Lines 214-217 in src/entt/core/type_traits.hpp.

template<typename Type, typename = void>
struct is_eto_eligible
    : ENTT_IS_EMPTY(Type)
{};





Add Discussion

Log in to comment