Why doesn't C++ have allocator-aware versions of uninitialized memory algorithms? Currently, both the
STL and
libstdc++ have implemented them because standard library containers require them. libc++ has not implemented them, but perhaps worse, each container implements them in its own way. These functions (which should now be algorithm function object) should be
standardized so that current and future authors of allocator-aware containers don't have to reinvent them themselves.