[#absl-make_any-03] = xref:absl.adoc[absl]::make_any :relfileprefix: ../ :mrdocs: Constructs an `any` object holding a value of type `T` (deprecated). == Synopsis Declared in `<absl/types/any.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename... Args> [[deprecated]] constexpr decltype(std::make_any<T>(std::declval<Args>()...)) make_any(Args&&... args); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value An `any` holding the constructed value. == Parameters [cols="1,4"] |=== | Name| Description | *args* | Arguments forwarded to `std::make_any`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#