Template magic for pre allocator memory managers (WIP)