Skip to content

Function snprintfmt

function snprintfmt(char *, size_t, const std::string &, const Args &...) meta

template <typename... Args>
KFR_INLINE int snprintfmt(char* str, size_t size, const std::string& fmt, const Args&... args)

Write to a buffer using a {}"-based format string.

Parameters
str Destination buffer.
size Size of str in bytes.
fmt Format string with {} placeholders.
args Values to format.
Returns
Number of characters that would have been written (excluding the null terminator).

Fully qualified name: kfr::snprintfmt(char *, size_t, const std::string &, const Args &...)

Declared at meta/string.hpp:473

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.