Skip to content

Function fmtwidth

function fmtwidth(const T &) meta

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

Wrap value with only width/precision, keeping the default conversion specifier.

Template parameters
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::fmtwidth(const T &)

Declared at meta/string.hpp:313

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