bsl::make_wformat_args

Create a type-erased wide argument store from the specified args.

Synopsis

Declared in <bslfmt_format.h>

template<class... t_ARGS>
auto
make_wformat_args(t_ARGS&... args);

Description

Return an object, whose type is not specified, holding an array of wformat_arg types constructed from the specified args. The type returned is implicitly convertible to a wformat_args holding a reference to the contained array. This function will statically assert if any of the specified template parameters t_ARGS is of type long double.

Return Value

an unspecified object convertible to wformat_args

Parameters

NameDescription
argsvalues to store as type-erased wide format arguments