Constructs an any
object containing an object of type T
, passing the provided arguments to T
's constructor.
return std::any(std::in_place_type<T>, std::forward<Args>(args)...);
return std::any(std::in_place_type<T>, il, std::forward<Args>(args)...);
constructs an any object (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/utility/any/make_any