You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In struct array_link ,
shouldn't uint8_t *data;
be T *data; ?
In the init function,
_element_size = PoolAllocator::align_up(sizeof(T), alignment);
Shouldn't alignment be calculated from 'alignof(T)' rather than coming in as an init parameter?
shouldn't uint8_t *data;
be T *data; ?
_element_size = PoolAllocator::align_up(sizeof(T), alignment);
Shouldn't alignment be calculated from 'alignof(T)' rather than coming in as an init parameter?