Struct entity_builder_tag

Synopsis

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

struct entity_builder_tag

Description

Fluent API for chaining entity operations This class contains entity operations that can be chained. For example, by using this class, an entity can be created like this:

flecs::entity e = flecs::entity(world) .add<Position>() .add<Velocity>();

Source

Lines 41-41 in include/flecs/addons/cpp/entity.hpp.

struct entity_builder_tag { }; // Tag to prevent ambiguous base