ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.11k stars 440 forks source link

adds `ranges::unformatted_ostream_iterator` #1586

Closed cjdb closed 3 years ago

cjdb commented 3 years ago

std::ostream_iterator is only useful if the output needs to be formatted and std::ostreambuf_iterator only works with types that have a std::char_traits specialisation.

The purpose of unformatted_ostream_iterator is to write to an ostream object without formatting (so integers will be written as binary rather than as text).

cjdb commented 3 years ago

GH Actions failure related to #1587.

ericniebler commented 3 years ago

Cool, thanks!