Task.object_pool_index

Reserved index field which ensures that any Task derivative can be used with ObjectPool. That comes at minor cost of one unused size_t per Task instance if not needed which is not a problem.

class Task
size_t object_pool_index;

Meta