std::vwprintf, std::vfwprintf, std::vswprintf
Min standard notice:
Header: <cwchar>
Loads the data from locations, defined by vlist,, converts them to wide string equivalents and writes the results to a variety of sinks.
# Declarations
int vwprintf( const wchar_t* format, va_list vlist );
int vfwprintf( std::FILE* stream, const wchar_t* format, va_list vlist );
int vswprintf( wchar_t* buffer, std::size_t buf_size, const wchar_t* format, va_list vlist );
# Parameters
stream: output wide stream to write tobuffer: pointer to a wide string to write tobuf_size: maximum number of wide characters to writeformat: pointer to a null-terminated wide string specifying how to interpret the datavlist: variable argument list containing the data to print.
# Notes
While narrow strings provide std::vsnprintf, which makes it possible to determine the required output buffer size, there is no equivalent for wide strings, and in order to determine the buffer size, the program may need to call std::vswprintf, check the result value, and reallocate a larger buffer, trying again until successful.
# Example
This section is incompleteReason: no example