Struct is_flecs_constructible

Synopsis

#include <include/flecs/addons/cpp/lifecycle_traits.hpp>

template <typename T>
struct is_flecs_constructible

Description

No description yet.

Source

Lines 232-238 in include/flecs/addons/cpp/lifecycle_traits.hpp.

template <typename T>
struct is_flecs_constructible {
    static constexpr bool value = 
        std::is_default_constructible<actual_type_t<T>>::value ||
        std::is_constructible<actual_type_t<T>, 
            flecs::world&, flecs::entity>::value;
};