[#absl-pointer_traits] = xref:absl.adoc[absl]::pointer_traits :relfileprefix: ../ :mrdocs: Uniform interface to the properties of a pointer‐like type. == Synopsis Declared in `<absl/memory/memory.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Ptr> using pointer_traits [[deprecated]] = std::pointer_traits<Ptr>; ---- [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::pointer_traits` for platforms that had not yet provided it. Those platforms are no longer supported. New code should simply use `std::pointer_traits`. [.small]#Created with https://www.mrdocs.com[MrDocs]#