std::basic_format_context

Header: <format>

Provides access to formatting state consisting of the formatting arguments and the output iterator.

# Declarations

template< class OutputIt, class CharT >
class basic_format_context;

(since C++20)

using format_context = basic_format_context</* unspecified */, char>;

(since C++20)

using wformat_context = basic_format_context</* unspecified */, wchar_t>;

(since C++20)

# Example

This section is incompleteReason: no example

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 3567C++20basic_format_context does not work move-only iterator typesmade to move iterators
LWG 3975C++20user specialization of basic_format_context was alloweddisallowed
LWG 4061C++20basic_format_context was constructible and assignable by user codemade neither constructible nor assignable