TScopedAllocs

Activates an allocator on construction and deactivates it on destruction