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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Essentially updating it post-merge of ubuntu-14-04 branch.
  • Loading branch information
clechasseur authored Apr 4, 2017
1 parent f9dc053 commit 15f2fef
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ int main()
auto is_even = [](int i) { return i % 2 == 0; };

auto seq = from(FIRST)
>> intersect(SECOND) // Intersect both arrays
>> where([](int i) { return i != 13; }) // I'm supersticious, remove 13
>> order_by_descending(is_even) // Place even numbers first
>> then_by([](int i) { return i; }); // Then sort numbers ascending
| intersect(SECOND) // Intersect both arrays
| where([](int i) { return i != 13; }) // I'm supersticious, remove 13
| order_by_descending(is_even) // Place even numbers first
| then_by([](int i) { return i; }); // Then sort numbers ascending

std::cout << std::endl;
for (auto&& elem : seq) {
Expand All @@ -36,9 +36,8 @@ int main()
The library is header-only. Therefore, to add it to your project, simply copy the content of the `lib` directory to a suitable place in your structure and add that path to your include paths. Look at the `test` project/makefile for examples.

## Compiler support
`coveo::linq` requires a C++ compiler that is fairly up-to-date with the C++11/14/17 standard. It has been successfully tested with the following compilers; YMMV.
`coveo::linq` requires a C++ compiler that supports the C++11 standard. It has been successfully tested with the following compilers; YMMV.

* Microsoft Visual Studio 2015 Update 3
* GCC 5.4.1

There is also a branch named `ubuntu-14-04` with code that has been downgraded a bit to compile on Ubuntu 14.04 (as its name implies).
* Clang 3.4

0 comments on commit 15f2fef

Please sign in to comment.