Struct is_empty

Synopsis

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

template<typename Type, typename = void>
struct is_empty: 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 511-512 in src/entt/core/type_traits.hpp.

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





Add Discussion

Log in to comment