Title
Concept formattable's definition is incorrect
Status
wp
Section
[format.formattable]
Submitter
Mark de Wever

Created on 2023-04-16.00:00:00 last changed 17 months ago

Messages

Date: 2023-06-19.14:50:03

Proposed resolution:

This wording is relative to N4944.

  1. Modify [format.formattable] as indicated:

    -1- Let fmt-iter-for<charT> be an unspecified type that models output_iterator<const charT&> ([iterator.concept.output]).

    […]
    template<class T, class charT>
      concept formattable =
        formattable-with<remove_reference_t<T>, basic_format_context<fmt-iter-for<charT>, charT>>;
    
Date: 2023-06-17.00:00:00

[ 2023-06-17 Approved at June 2023 meeting in Varna. Status changed: Voting → WP. ]

Date: 2023-05-15.00:00:00

[ 2023-05-24; Reflector poll ]

Set status to Tentatively Ready after ten votes in favour during reflector poll.

Date: 2023-04-16.00:00:00

LWG 3631 modified the formattable concept. The new wording contains a small issue: basic_format_context requires two template arguments, but only one is provided.

History
Date User Action Args
2023-06-19 14:50:03adminsetmessages: + msg13654
2023-06-19 14:50:03adminsetstatus: voting -> wp
2023-06-12 08:52:25adminsetstatus: ready -> voting
2023-05-24 14:31:37adminsetmessages: + msg13564
2023-05-24 14:31:37adminsetstatus: new -> ready
2023-04-16 16:19:02adminsetmessages: + msg13530
2023-04-16 00:00:00admincreate