Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Releases: coveooss/linq

2.0.2

23 Nov 02:47
Compare
Choose a tag to compare

Bugfix release that makes sequence_equal compatible with the product of the order_by operators. It should also fix other problems with order_by.

2.0.1

21 Nov 20:35
Compare
Choose a tag to compare

Bugfix for the 2.0 release that replaces coveo::enumerable<T>::const_iterator's class by a typedef for iterator. This fixes some generic code that doesn't handle well the fact that begin() and cbegin() are both const but return different types.

2.0

21 Nov 17:02
Compare
Choose a tag to compare
2.0

Several changes and bug fixes, including:

  • Breaking change: coveo::enumerable now supports returning non-const references. This means that a coveo::enumerable<int> returns references to non-const ints. To return references to const objects, use something like coveo::enumerable<const int>.
  • Optimized skip() and take(), including support for fast_size when possible.
  • Breaking change: several operators now return values instead of references to avoid dangling references. This includes min(), max(), first(), etc.

2.0-alpha2

25 Sep 03:01
Compare
Choose a tag to compare
2.0-alpha2 Pre-release
Pre-release

coveo::enumerable has been refactored again. Having both iterator and const_iterator didn't make much sense since it was possible to simply copy the enumerable to access the non-const methods. So now enumerable only has an iterator, and begin/end are const methods. Also added an as_const method to return a const version of a given enumerable.

2.0-alpha

22 Sep 02:45
Compare
Choose a tag to compare
2.0-alpha Pre-release
Pre-release

coveo::enumerable has been refactored to support returning non-const references. This means that a coveo::enumerable<int>'s iterators will return int& instead of const int&. coveo::enumerable now has two iterator types like most sequences, an iterator and a const_iterator. They work as expected, as well as begin()/cbegin()/end()/cend().

Please note that this is a breaking change. If you used coveo::enumerable in your interface and intended to return const references, you will have to update from coveo::enumerable<Foo> to coveo::enumerable<const Foo>.

1.1

10 Sep 00:59
Compare
Choose a tag to compare
1.1

Added cast operator.

1.0

10 Sep 00:54
Compare
Choose a tag to compare
1.0

First source release.