Add C++11 allocator model support