Constructs an any object holding a T from an initializer list (deprecated).
Synopsis
Declared in <absl/types/any.h>
template<
typename T,
typename U,
typename... Args>
[[deprecated]]
constexpr
decltype(std::make_any<T>(
std::declval<std::initializer_list<U>>(), std::declval<Args>()...))
make_any(
std::initializer_list<U> il,
Args&&... args);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
An any holding the constructed value.
Parameters
Name |
Description |
il |
Initializer list forwarded to |
args |
Additional arguments forwarded to |
Created with MrDocs