Template Function fmt::v6::printf

Function Documentation

template<typename S, typename ...Args, enable_if_t<(internal::is_string<S>::value), int> = 0>
int fmt::v6::printf(const S &format_str, const Args&... args)

Prints formatted data to stdout.

Example*:

fmt::printf("Elapsed time: %.2f seconds", 1.23);