mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-13 15:10:03 +08:00
std::back_insert_iterators model the OutputIterator concept but differ considerably in their traits and behavior. In particular the former made compilation to fail when format_to_n is given a back_inserter as first argument. The emulation of an OutputIterator is not perfect due to the behavioural differences of back_insert_iterators (e.g. assignment always implies increment) but good enough to be used within fmt's machinery. |
||
|---|---|---|
| .. | ||
| fmt | ||