tetl 0.1.0
Embedded Template Library
|
Provides access to formatting state consisting of the formatting arguments and the output iterator. More...
#include <basic_format_context.hpp>
Public Types | |
using | char_type = CharT |
template<typename T > | |
using | formatter_type = formatter< T, CharT > |
using | iterator = OutputIt |
Public Member Functions | |
constexpr | basic_format_context (OutputIt pos) noexcept |
constexpr auto | advance_to (iterator it) noexcept -> void |
Sets the output iterator to it. After a call to advance_to, subsequent calls to out() will return a copy of it. | |
constexpr auto | out () noexcept -> iterator |
Returns the iterator to the output buffer. | |
Provides access to formatting state consisting of the formatting arguments and the output iterator.
The behavior is undefined if OutputIt does not model output_iterator<const CharT&>.
https://en.cppreference.com/w/cpp/utility/format/basic_format_context
|
inlineexplicitconstexprnoexcept |
Sets the output iterator to it. After a call to advance_to, subsequent calls to out() will return a copy of it.
Returns the iterator to the output buffer.