[#absl-allocator_traits] = xref:absl.adoc[absl]::allocator_traits :relfileprefix: ../ :mrdocs: Uniform interface to the properties of an allocator type. == Synopsis Declared in `<absl/memory/memory.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Alloc> using allocator_traits [[deprecated]] = std::allocator_traits<Alloc>; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Historical note: Abseil once provided an implementation of `std::allocator_traits` for platforms that had not yet provided it. Those platforms are no longer supported. New code should simply use `std::allocator_traits`. [.small]#Created with https://www.mrdocs.com[MrDocs]#