Function emplace

Synopsis

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

template <typename T, typename ... Args>
void emplace(Args &&... args) const

Description

No description yet.

Source

Lines 530-534 in include/flecs/addons/cpp/world.hpp.

template <typename T, typename ... Args>
void emplace(Args&&... args) const {
    flecs::emplace<T>(m_world, _::cpp_type<T>::id(m_world), 
        FLECS_FWD(args)...);
}