C++20 Concepts--omnigoat
Getting familiar with concepts.
C++20 Concepts
by omnigoat
From the article:
A quick syntax-based overview of C++20 Concepts, as they are in the standard (circa January 2020)...
June 16-21, Sofia, Bulgaria
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 16-21, Kona, HI, USA
By Adrien Hamelin | Feb 4, 2020 02:29 PM | Tags: c++20
Getting familiar with concepts.
C++20 Concepts
by omnigoat
From the article:
A quick syntax-based overview of C++20 Concepts, as they are in the standard (circa January 2020)...
By Adrien Hamelin | Feb 4, 2020 02:28 PM | Tags: community
Don't miss it!
C++ in 2020
by Jens Weller
From the article:
Now where the year is a few weeks old, lets see whats ahead for C++ in 2020!
I'll cover the Meeting C++ Community Survey, Conferences, Libraries & Releases, ISOCPP and C++20.
This blog post is based on a newsletter, which is based on a talk I gave at my User Group in Düsseldorf two weeks ago. Come and visit our meetings at the 3rd Wednesday of the month! My C++ User Group is also still looking for speakers in 2020, contact me if you're in town!
By fj | Jan 31, 2020 05:20 AM | Tags: None
A taste of functional stack of effects.
Decorating with a side effect
by Krzysztof Ostrowski
From the article:
Logging is one of such overused features, that leads to costly side effects (consider distributed logging, a DLT, prevalent in automotive industry). This article describes a technique that is used to extract side effects brought by logging, and then compose with them back in a well defined manner.
By Adrien Hamelin | Jan 30, 2020 02:57 PM | Tags: c++20
The big ones.
C++20 Reference Card
by Bartlomiej Filipek
From the article:
While the C++20 Standard is still being finalised and polished, we know all of its core features. At first, the new specification of the language might sound complex and overwhelming. That’s why, if you want to have an overview of the core elements and get the bigger picture, you can have a look at my new reference card...
By Adrien Hamelin | Jan 28, 2020 02:04 PM | Tags: intermediate
Boolean and bit operators are not the same.
How to Short-Circuit a Sequence of Operations with a Boolean Value
by Jonathan Boccara
From the article:
Interrupting a sequence of operations when one of them fails is a common problem in computer programming. There are plenty of elaborate ways to code that, ranging from exceptions to monads to static exceptions.
One of the techniques to stop such a sequence of operations that is not so sophisticated, but that can be found in existing code, is to use a boolean. This relies on each step producing a boolean flag to indicate if it succeeded or failed, and to stop executing steps at the first failure.
However, simple as it is, this technique can lead to code that doesn’t do with it looks like...
By Adrien Hamelin | Jan 28, 2020 01:56 PM | Tags: experimental
Continuing on concepts.
C++20: Define the Concepts Equal and Ordering
by Rainer Grimm
From the article:
In my last post, I defined the concept Equal. Now, I go one step further and use the concept Equal to define the concept Ordering...
By Adrien Hamelin | Jan 27, 2020 03:32 PM | Tags: experimental community
A way to make C++ safer.
The C++ Lifetime Profile: How It Plans to Make C++ Code Safer
by Daniel Martín
From the article:
High amounts of low-level systems are written in C++. Memory access in C++ is virtually unrestricted, which means that bugs in C++ programs can corrupt it and cause crashes or security problems. For this reason, we call C++ a memory-unsafe programming language — in contrast to memory-safe languages like Java, Rust, and Swift.
In this blog post, I’ll talk about the C++ Lifetime Profile, explaining what it is, how it intends to reduce the problems typically caused by the memory-unsafe characteristics of C++, what the status of the current implementation of the Lifetime Profile is, and what the current limitations are...
By Adrien Hamelin | Jan 27, 2020 03:19 PM | Tags: performance intermediate
Optimisation, never easy.
The Hunt for the Fastest Zero
by Travis Downs
From the article:
Let’s say I ask you to fill a char array of size n with zeros. I don’t know why, exactly, but please play along for now.
If this were C, we would probably reach for memset, but let’s pretend we are trying to write idiomatic C++ instead...
By Adrien Hamelin | Jan 27, 2020 03:17 PM | Tags: efficiency c++17
Tools are very helpful nowadays.
"Use the Force, Luke"... or Modern C++ Tools
by Bartlomiej Filipek
From the article:
In this blog post, I’d like to show you how I could quickly improve my old project with Modern C++. Thanks to using the newest compilers and free code analysis checkers you can cover and modernise a lot of code...
By Nico Josuttis | Jan 23, 2020 02:17 AM | Tags: None
C++17 – La guía completa (the spanish edition of "C++17 - The Complete Guide" by Nico Josuttis) is out:
C++17 - The Complete Guide in Spanish
by Nico Josuttis
About the publication
- ebook: http://leanpub.com/cpp17es
- print: http://amazon.com/dp/3967301176
Translated for the spanish C++ community by Javier Estrada with significant help by Daniel Garcia.
For details, see