Comparison to the .NET Standard Query Operators

This page is a side by side comparison of cpplinq support of query operators are defined in the .NET framework. You can check the list of .NET Standard Query Operators here.

.NET Operators cpplinq Support cpplinq name
Restriction operators
Where yes where
Project Operators
Select yes select
SelectMany yes select_many
Partitioning Operators
Take yes take
Skip yes skip
TakeWhile yes take_while
SkipWhile yes skip_while
Join Operators
Join yes join
GroupJoin
Concatenation Operators
Concat yes concat
Ordering Operators
OrderBy yes orderby
ThenBy yes thenby
OrderByDescending yes orderby_descending
ordery_ascending
ThenByDescending yes thenby_descending
thenby_ascending
Reverse yes reverse
Grouping Operators
GroupBy
Set Operators
Distinct yes distinct
Union yes union_with
Intersect yes intersect_with
Except yes except
Conversion Operators
AsEnumerable
ToArray
ToList yes to_list, to_vector
ToDictionary yes to_map
ToLookup yes to_lookup
OfType
Cast
Equality Operators
SequenceEqual yes sequence_equal
Element Operators
First
FirstOrDefault yes first_or_default
Last
LastOrDefault yes last_or_default
Single
SingleOrDefault
ElementAt
ElementAtOrDefault yes element_at_or_default
DefaultIfEmpty
Generation Operators
Range yes range
Repeat yes repeat
Empty yes empty
Qantifiers
Any yes any
All yes all
Contains yes contains
Aggregate Operators
Count yes count
LongCount
Sum yes sum
Min yes min
Max yes max
Average yes avg
Aggregate yes aggregate

Last edited Oct 22, 2012 at 6:58 AM by MariusBancila, version 11

Comments

jagansai Jan 12, 2013 at 12:26 AM 
Hi Marius, Thanks for implementing linq for C++. It's a very good attempt. I would be learning a great deal of C++ by just going through the source itself.