Skip to content

Function fmt

function fmt(const T &) meta

template <char t, int width = -1, int prec = -1, typename T>
KFR_INLINE fmt_t<T, t, width, prec> fmt(const T& value)

Wrap value with a custom conversion specifier.

Template parameters
t Conversion specifier character (e.g. 'f', 'e', 'x').
width Minimum field width ( -1 for none).
prec Precision ( -1 for none).
T Type of the value.
Parameters
value Value to format.
Returns
fmt_t bound to value.

Fully qualified name: kfr::fmt(const T &)

Declared at meta/string.hpp:298

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