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: 15726

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: 11131

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: 9173

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: 10365

The Ranges Library in C++20: More Details

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

Read more
Tags: Ranges
Views: 11070

C++20: Python's map Function

Today, I finish my experiment writing beloved Python functions in C++. So far, I have 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: 32237

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: 14720

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: 19598

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: 35281

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 range library's comfort and power are due to its functional ideas. Let me show you what that means.

Read more
Tags: Ranges
Views: 103398

Stay Informed about my Mentoring

 

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

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

Course: Master Software Design Patterns and Architecture in C++

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 1060

Yesterday 6503

Week 27317

Month 7563

All 12085772

Currently are 240 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments