Formats args according to specifications in fmt, applying the text style ts, and returns the result as a std::wstring.

Synopsis

Declared in <fmt/xchar.h>

template<typename... T>
std::wstring
format(
    text_style ts,
    wformat_string<T...> fmt,
    T&&... args);

Return Value

The formatted result as a std::wstring.

Parameters

Name

Description

ts

The text style (colors, emphasis) to apply.

fmt

The format string.

args

The arguments to format.

Created with MrDocs