coveo::linq
Implementation of .NET-like LINQ operators in C++
|
Modules | |
LINQ expression entry points | |
Functions to start a LINQ expression. | |
LINQ operator chaining | |
How to chain LINQ operators into an expression. | |
LINQ operators | |
Information and reference of LINQ operators. | |
LINQ expressions are comprised of three distinct parts: an entry point, one or more operators and a glue operator to chain those elements together. The entry point provides the initial sequence on which to operate and each LINQ operator in turn applies a change to that sequence - be it sorting, filtering, etc.
Here is an example with all elements. Here, we filter a sequence of numbers to only keep those above 20, then we order them by numerical value.
coveo::linq::from()
is the usual entry point for a LINQ expression, but there are a few others. coveo::linq::operator|()
is used to chain the LINQ operators together. As for LINQ operators, there are too many of them to list them here. For more information, see: