27 template<
class Child,
typename... Args>
29 auto ptr = std::make_unique<Child>(args...);
30 Child* rv = ptr.get();
32 _children.emplace_back(std::move(ptr));
50 std::list<std::unique_ptr<PyOwnedObject>> _children;
Base class used for all objects in the Python world which can be owned by another object.
virtual ~PyOwnedObject()=default
Base class used for all objects in the Python world which can own other objects and can be owned them...
Child * make_child(Args... args)
Create object of type Child by passing the given arguments to the constructor of Child,...
InvalidityTracer application module.