24 ref() : world_(
nullptr), ref_{} { }
38 "operation invalid for empty type");
45 world_, &ref_, this->ref_.id));
47 ecs_assert(result != NULL, ECS_INVALID_PARAMETER,
48 "nullptr dereference by flecs::ref");
55 world_, &ref_, this->ref_.id));
59 if (!world_ || !ref_.entity) {