cpp/experimental/polymorphic allocator

The class template is an  whose allocation behavior depends on the memory resource it is constructed with. Thus, different instances of can exhibit entirely different allocation behavior. This runtime polymorphism allows objects using to behave as if they used different allocator types at run time despite the identical static allocator type.