constexpr is a Platform--Jonathan Müller
What do you think?
constexpr is a Platform
by Jonathan Müller
From the article:
Let me share a useful insight with you: constexpr is a platform...
March 11-13, Online
March 16-18, Madrid, Spain
March 23-28, Croydon, London, UK
March 30, Kortrijk, Belgium
May 4-8, Aspen, CO, USA
May 4-8, Toronto, Canada
June 8 to 13, Brno, Czechia
June 17-20, Folkestone, UK
September 12-18, Aurora, CO, USA
November 6-8, Berlin, Germany
November 16-21, Búzios, Rio De Janeiro, Brazil
By Adrien Hamelin | Oct 21, 2020 10:55 AM | Tags: c++20
What do you think?
constexpr is a Platform
by Jonathan Müller
From the article:
Let me share a useful insight with you: constexpr is a platform...
By Adrien Hamelin | Oct 14, 2020 01:01 PM | Tags: c++17
Did you know about it?
A brief introduction to C++ structured binding
by Raymond Chen
From the article:
C++17 introduced a feature known as structured binding. It allows a single source object to be taken apart...
By Adrien Hamelin | Oct 14, 2020 12:56 PM | Tags: c++20
The new formatting arrives.
C++20: Extend std::format for User-Defined Types
by Rainer Grimm
From the article:
Peter Gottschling presented in his last post "std::format in C++20" the basics to the new formatting library in C++20. In today's post Peter writes about the formatting of user-defined types...
By Adrien Hamelin | Oct 12, 2020 10:48 AM | Tags: c++20
What is your opinion?
Increased Complexity of C++20 Range Algorithms Declarations - Is It Worth?
by Bartlomiej Filipek
From the article:
With the addition of Ranges and Concepts in C++20, our good old algorithm interfaces got super long “rangified” versions. For example, copy is now 4 lines long… and it’s just the declaration!
By Adrien Hamelin | Oct 12, 2020 10:35 AM | Tags: intermediate c++17
Before we get metaclasses one day?
C++ Compile time conditional struct member variables
by Saleem Ahmad
From the article:
C++ has rich set of features to do compile time calculations and optimizations to generate a better code. In one of code segment I have very large data structure in which few member variables are not used based on compile time if constexpr condition, but these variables are logged in the log line...
By Daniel G Vergel | Oct 8, 2020 11:30 AM | Tags: None
This series of posts provides a brief introduction to some of the most commonly used algorithms, views, and actions of the library. It is written entirely in Spanish, in part to mitigate the lack of educational materials on modern C++ currently available in my native language. Many of the codes are nevertheless self-explanatory, and I hope, may be of interest to a broader audience.

Range-v3: An Introduction to the Library
by Daniel G Vergel
About the series
As an Associate Professor at the European University (Madrid, Spain), I decided to integrate C++17/20 and the Range-v3 library into my teaching materials to build a more interesting and up-to-date syllabus for my courses. The adoption of a functional style of coding has helped me produce better and more expressive code, making my students' first approach to system programming easier.
- Examples 1 (generate_n, group_by, sort, to) and 2 (filter)
- Examples 3 (enumerate, shuffle, take, zip) and 4 (intersperse, tokenize)
- Examples 5 (getlines, transform) and 6 (iota, set_difference, split_when)
- Example 7 (stable_partition, subrange)
- Example 8 (concat, drop, generate, take_while)
- Examples 9 (cycle) and 10 (keys, values)
By Adrien Hamelin | Oct 7, 2020 12:02 PM | Tags: c++20
More convenience for formatting.
std::format in C++20
by Peter Gottschling
From the article:
Today, I'm happy to present Peter Gottschling's guest post to the new formatting library in C++20: std::format. Thanks to std::format, text formatting becomes in C++20 as easy as in Python...
By Adrien Hamelin | Oct 7, 2020 11:39 AM | Tags: c++20
More convenience.
More Convenience Functions for Containers with C++20
by Rainer Grimm
From the article:
Removing elements from a container or asking if an associative container has a specific key, is too complicated. I should say was because with C++20 the story changes.
By Nico Josuttis | Oct 2, 2020 10:37 AM | Tags: c++17 c++14 c++11 advanced
The book "C++ Move Semantics - The Complete Guide" is now done and out as ebook or printed.
C++ Move Semantics - The Complete Guide
by Nicolai Josuttis
About the book
On 260 pages (yes, it is that complicated if you want to deal with all the details), Nicolai Josuttis introduces and explains all aspects of C++ move semantics:
- Intuitive motivation
- Compelling examples
- Tricky details
The book covers all aspects of move semantics:
- From std::move() and rvalue references
- Over reference qualifiers, invalid moved-from states, and value categories
- Up to tricky details in generic code using std::forward(), universal/forwarding references, auto&&, and decltype(auto).
Additional chapters about move-only types and the support of move semantics in the C++ standard library help to understand and use standard types in practice.
See cppmove.com for a detailed list of all topics covered.
By Meeting C++ | Sep 29, 2020 03:29 AM | Tags: meetingcpp conference community basics advanced
Some news about this years Meeting C++ conference: we'll have 2 AMAs!
Adding ask me anything to Meeting C++ 2020
by Jens Weller
From the article:
Some news on Meeting C++ 2020! Attendees will be able to attend AMA sessions with...
During CppCon I noticed how well AMA sessions went and that they are a great feature for an online conference. And for some time I knew that this years conference has some extra space for content due to its online nature.