https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121765

Tomasz Kamiński <tkaminsk at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |tkaminsk at gcc dot 
gnu.org

--- Comment #3 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
This is caused by combination of `formattable` concept using
`back_insert_iterator`, and return type deduction for formatter<S>::format,
that triggers full instantiation of `formatter<Tuple>::format` and triggers the
assertions. 

The formatter::format functions are never invoked at runtime with iterators
other than `_Sink_iter`, as the user are not able to create
`basic_format_context` (no public constructor), and except of formattable
checks, library is only using `_Sink_iter`.

We should adjust the formattable concept to user `_Sink_iter` as unspecified
iterator, i.e. adjust _Iter_for definition.

Reply via email to