On 11/7/13 5:30 AM, Namespace wrote:Nice! But I suggest two things: 1. Add a reset function for reusing the same storagefreeAll().
There is no freeAll. Did you mean deallocateAll? ---- void deallocateAll() { _crt = null; } ---- _crt is null and the same storage can't be used again.