Skip to content

Releases: DarkerStar/cpp-range-streaming

Release 2.0.0

16 Sep 13:43

Choose a tag to compare

A complete rewrite of the library, now the header to include is <rangeio>.

Very little has changed from v1.5.0, except that the range I/O objects returned by the range I/O functions are no longer specified. Only their behaviour is specified.

Release 1.5.0

02 Aug 19:13

Choose a tag to compare

This release completes the version 1 series (not counting any bugfix releases). The next release will be version 2.

The output function write_all() has been added, both in regular and delimited versions.

Also, a new documentation file - a reference for easier reading - has been added.

Release 1.4.0

25 Jul 19:10

Choose a tag to compare

This release completes the entire input part of the library for (what will be) version 2.

There are now _n functions for back inserting and front inserting that work just like the regular functions, except they read up to a maximum of n items, rather than reading until EOF.

In addition, two new input operations - overwriting and general insert - have been added.

Release 1.3.0

24 Jul 17:27

Choose a tag to compare

There are two major changes in this release: the addition of two new range I/O operations, and the beginning of a migration away from comment and README documentation.

Newly added in this release are input operations back_insert() and front_insert(). Back insert reads values from the input stream until EOF (or a read failure) and adds them to the range via push_back(). Front insert is the same, except it uses push_front(). Both of these operations can be used like this:

auto v = std::vector<float>{};
in >> std::back_insert(v); // Reads float values from in until EOF
                           // or a read failure, adding them to v
                           // using v.push_back()

Or like this, in order to get more information about how the input operation went:

auto v = std::vector<float>{};
auto p = std::back_insert(v);
in >> p;
std::cout << p.count() << " values were read.";

The other major change is the first stages in a migration away from putting the documentation about the proposal in comments or in the README file. Eventually the doc directory will contain a full specification, a quick reference, a tutorial about usage, perhaps a document about design decisions, and, maybe eventually, a proposal document. For the time being, a partially-complete specification is available.

Release 1.2.0

22 Jul 21:56

Choose a tag to compare

Range streaming now correctly handles formatting, both for input and output.

Release 1.1.0

20 Jul 14:51

Choose a tag to compare

This release adds a new, optional test that uses Boost.Range range adaptors with std::stream_range (output only, of course). To enable the test, make the test suite with the option HAVE_BOOST defined (see INSTALL for more details).

Initial release

18 Jul 15:19

Choose a tag to compare

Initial release.