pool: add index based destroy function

This commit is contained in:
Danny Robson 2018-07-04 14:04:45 +10:00
parent f1c70beee1
commit 6ee256992d

View File

@ -141,6 +141,12 @@ namespace util {
} }
void destroy (size_t idx)
{
return destroy (base () + idx);
}
size_t capacity (void) const size_t capacity (void) const
{ {
return m_capacity; return m_capacity;