tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Classes | |
struct | format_to_n_result< Out > |
etl::format_to_n_result has no base classes, or members other than out, size and implicitly declared special member functions. More... | |
Namespaces | |
namespace | etl |
Typedefs | |
template<typename Iter > | |
using | diff_t = typename etl::iterator_traits< etl::remove_cvref_t< Iter > >::difference_type |
Functions | |
template<typename OutputIt , typename... Args> | |
auto | format_to (OutputIt out, etl::string_view fmt, Args const &... args) -> OutputIt |
Format args according to the format string fmt, and write the result to the output iterator out. | |
template<typename OutputIter , typename... Args> | |
auto | format_to_n (OutputIter out, diff_t< OutputIter > n, etl::string_view fmt, Args const &... args) -> format_to_n_result< OutputIter > |
Format args according to the format string fmt, and write the result to the output iterator out. At most n characters are written. | |