Constructs an any object holding a value of type T (deprecated).

Synopsis

Declared in <absl/types/any.h>

template<
    typename T,
    typename... Args>
[[deprecated]]
constexpr
decltype(std::make_any<T>(std::declval<Args>()...))
make_any(Args&&... args);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

An any holding the constructed value.

Parameters

Name

Description

args

Arguments forwarded to std::make_any.

Created with MrDocs