[#absl-void_t] = xref:absl.adoc[absl]::void_t :relfileprefix: ../ :mrdocs: Ignores the type of any its arguments and returns `void`. In general, this metafunction allows you to create a general case that maps to `void` while allowing specializations that map to specific types. == Synopsis Declared in `<absl/meta/type_traits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename... Ts> using void_t [[deprecated("Use std::void_t instead.")]] = /* implementation-defined */::type; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use std::void_t instead.. Use of this entity is allowed but discouraged. ==== == Description This metafunction is a workaround for some implementations of `std::void_t` that evaluate to `void` prematurely, causing partial specializations to appear duplicated (and thus invalid) to the compiler prior to substitution taking place. Whenever possible, use `std::void_t` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#