coveo::linq
Implementation of .NET-like LINQ operators in C++
|
Reference for all built-in LINQ operators. More...
Modules | |
aggregate | |
Aggregates values in a sequence to produce a single value. | |
all | |
Checks if all elements in a sequence satisfy a predicate. | |
any | |
Checks if a sequence has elements. | |
average | |
Computes average of a sequence of values. | |
cast | |
Casts sequence elements to another type. | |
concat | |
Concatenate two sequences. | |
contains | |
Looks for an element in a sequence. | |
count | |
Counts elements in a sequence. | |
default_if_empty | |
Ensures a sequence has at least one element. | |
distinct | |
Filters out duplicate elements in a sequence. | |
element_at | |
Returns nth element in a sequence. | |
element_at_or_default | |
Returns nth element in a sequence, or a default value. | |
except | |
Performs a set difference between two sequences. | |
first | |
Returns first element in a sequence. | |
first_or_default | |
Returns first element in a sequence, or a default value. | |
group_by / group_values_by / group_by_and_fold / group_values_by_and_fold | |
Groups elements in a sequence according to their keys. | |
group_join | |
Joins and groups elements in two sequences according to their keys. | |
intersect | |
Performs a set intersection of two sequences. | |
join | |
Joins elements in two sequences according to their keys. | |
last | |
Returns last element in a sequence. | |
last_or_default | |
Returns last element in a sequence, or a default value. | |
max | |
Returns maximum element in a sequence. | |
min | |
Returns minimum element in a sequence. | |
none | |
Checks if no element in a sequence satisfy a predicate. | |
order_by / order_by_descending / then_by / then_by_descending | |
Orders elements in a sequence. | |
reverse | |
Reverses elements in a sequence. | |
select / select_with_index / select_many / select_many_with_index | |
Projects elements in a sequence into another form. | |
sequence_equal | |
Compares two sequences. | |
single | |
Returns the only element in a sequence. | |
single_or_default | |
Returns the only element in a sequence, or a default value. | |
skip / skip_while / skip_while_with_index | |
Skips the first elements in a sequence. | |
sum | |
Computes sum of a sequence of values. | |
take / take_while / take_while_with_index | |
Keeps only the first elements in a sequence. | |
to / to_vector / to_associative / to_map | |
Converts a sequence into another container type. | |
union_with | |
Performs a set union of two sequences. | |
where / where_with_index | |
Filters a sequence. | |
zip | |
Zips two sequences by combining corresponding elements. | |
This page lists all LINQ operators implemented in the coveo::linq
library. They are listed alphabetically and grouped by purpose.