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