Casts the value stored in an any object to type T (deprecated).
Declared in <absl/types/any.h>
template<
typename T,
typename... Args>
[[deprecated]]
constexpr
decltype(std::any_cast<T>(std::declval<Args>()...))
any_cast(Args&&... args);
Deprecated. Use of this entity is allowed but discouraged.
The result of std::any_cast<T>.
| Name | Description |
|---|---|
| args | Arguments forwarded to std::any_cast. |