cpplinq

There are some new operators available in cpplinq: singleton, generate, pairwise and zip_with. singleton This operator create a range with a single element, specified as argument. Using the operator is straight forward.

generate This operator creates a range using a given predicate.

pairwise Generates a new range of pairs by grouping adjacent elements…

Read More cpplinq new operators

Here is an overview of the things that I’ve done in 2012. Codexpert Revamped The main site for the Romanian C++ community has a brand new, modern look (all built with HTML5), making things easier to find. We also now feature a blog in English, which is intended to replace the old article section. codexpert.ro…

Read More 2012 in Review

In the previous posts I introduced cpplinq, a C++ template library that provides .NET-like query operators for sequences of objects in C++11. In this third installment I will discuss the set operators the library provides. There are four set operators: distinct, union_with (called so because union is a keyword in C++), intersect_with (suffix _with is…

Read More cpplinq: set operators

In my previous post I introduced cpplinq, a C++ template library that provides .NET-like query operators for sequences of objects in C++11. In this second installment I will discuss about two things: range generators and range conversion operators. These two sets of operators are ubiquitous in queries. Range generators A range generator builds an object…

Read More cpplinq: range generators and conversion operators