Ranges

Ranges Improvements with C++23

Thanks to C++23, constructing containers will become more convenient. Additionally, the ranges library got more new views.

Read more
Tags: Python, Ranges
Views: 13695

Improved Iterators with Ranges

There are more reasons to prefer ranges library above the classical Standard Template Library. The ranges iterators support unified lookup rules and provide additional safety guarantees.

Read more
Views: 10170

Sentinels and Concepts with Ranges Algorithms

The ranges library in C++20 supports sentinels. Sentinels stand for the end of a range and can be regarded as generalized end iterators.

Read more
Views: 7971

Projections with Ranges

The algorithms of the ranges library are lazy, can work directly on the container, and can easily be composed. But they have more to offer: projections. A projection is a mapping of a set into a subset. Let me show you in this post what that means:

Read more
Tags: Ranges
Views: 8999

The Ranges Library in C++20: More Details

Thanks to the ranges library, working with the Standard Template Library (STL) is much more comfortable and powerful. The algorithms of the ranges library are lazy, can work directly on the container, and can easily be composed. But there is more to it:

Read more
Tags: Ranges
Views: 9982

C++20: Python's map Function

Today, I finish my experiment writing beloved Python functions in C++. So far, I implemented the Python functions filter, range, and xrange. Today, I have a closer look at the map function and combine the functions map and filter into one function.

Read more
Tags: Ranges, Python
Views: 31095

C++20: Pythons range Function, the Second

In my last post C++20: Pythonic with the Ranges Library, I started my experiment to implement the beloved Python functions range and filter in C++. Due to two very interesting comments to my last post, I revisit the function range. 

Read more
Tags: Ranges, Python
Views: 14154

C++20: Pythonic with the Ranges Library

Today, I start an experiment. I want to implement beloved functions in Python in C++ using the ranges library. I'm curious about how it goes.

Read more
Tags: Ranges, Python
Views: 18878

C++20: Functional Patterns with the Ranges Library

My last post C++20: The Ranges Library, gave you the first impression of the ranges library. Today's post is about functional patterns: function composition and lazy evaluation. They become first-class citizens in C++20.

Read more
Tags: Ranges
Views: 34365

C++20: The Ranges Library

Thanks to the ranges library in C++20, working with the Standard Template Library (STL) will become much more comfortable and powerful. The algorithms of the ranges library are lazy, can work directly on the container and can easily be composed. To make it short: The comfort and the power of the ranges library are due to its functional ideas. Let me show you what that means.

Read more
Tags: Ranges
Views: 100834

Mentoring

Stay Informed about my Mentoring

 

English Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 2124

Yesterday 4791

Week 2124

Month 192200

All 11673354

Currently are 275 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments