experimental

C++20: Concepts, the Details--Rainer Grimm

The series continue.

C++20: Concepts, the Details

by Rainer Grimm

From the article:

In my last post C++20: Two Extremes and the Rescue with Concepts, I gave the first motivation for concepts. Concepts put semantic constraints on template parameters. Today, I present different use-cases for concepts in a compact form...

Named Template Arguments--Barry Revzin

It's coming!

Named Template Arguments

by Barry Revzin

From the article:

C++, unlike many other programming languages, doesn’t have named function parameters or named function arguments. I hope it will someday, it’s a language feature that I find has large benefits for readability. Until then, in C++20, we actually have the ability to do a decent approximation not only of named function arguments but also named template arguments...

Trip Report: C++ Standards Meeting in Belfast, November 2019--Botond Ballo

Another report!

Trip Report: C++ Standards Meeting in Belfast, November 2019

by Botond Ballo

From the article:

Last week I attended a meeting of the ISO C++ Standards Committee (also known as WG21) in Belfast, Northern Ireland. This was the third and last committee meeting in 2019; you can find my reports on preceding meetings here (July 2019, Cologne) and here (February 2019, Kona), and previous ones linked from those. These reports, particularly the Cologne one, provide useful context for this post...

Trip Report: Freestanding Errors in Belfast--Ben Craig

Another one!

Trip Report: Freestanding Errors in Belfast

by Ben Craig

From the article:

The C++ standards committee met in Belfast, Northern Ireland (UK) between Nov 4 and Nov 8. This was my fifth committee meeting, third evening session, and my first paper accepted into the standard. Through clever manipulation of the process, I was also able to fix 1.5% of all the national body comments SINGLE HANDEDLY (with the help of a coauthor, several reviewers, the entirety of LEWG and LWG, and a few national bodies)...

C++20: The Library--Rainer Grimm

The list continues.

C++20: The Library

by Rainer Grimm

From the article:

My last post "C++20: The Core Language" presented the new features of the C++20 core language. Today, I continue my journey with an overview of the C++20 library...

WG21 in my own backyard: Belfast trip report--Guy Davidson

Getting closer to 20!

WG21 in my own backyard: Belfast trip report

by Guy Davidson

From the article:

November turned into a heavy travel month when I agreed to speak at both C++ Russia in St Petersburg and Meeting C++ in Berlin, either side of the Autumn WG21 committee in Belfast. I took what some considered to be “quite a risk” with St Petersburg: the date straddled the Brexit date, and I would be accompanied by my wife whom the organisers graciously agreed to pay to accompany me. She travels with an Irish passport, so the idea of both of us safely returning to the country immediately after a change to border law seemed potentially hazardous...

Support for C++20’s Concepts in CLion--Anastasia Kazakova

Are you using it?

Support for C++20’s Concepts in CLion

by Anastasia Kazakova

From the article:

Concepts are one of the biggest features coming in C++20, and knowing that, we’ve been thinking about supporting Concepts in CLion for quite a while. Enter Saar Raz with his C++20’s Concepts implementation in Clang! Long story short, we have been collaborating with Saar to merge his branch into our custom Clangd-based language engine in CLion, and started implementing some nice IDE features on top. Sounds ambitious enough, but we have thoroughly enjoyed the experience so far! A very early result of this collaboration was used by Saar in his CppCon 2019 talk on Concepts...

C++20 span tutorial--Paul Silisteanu

All you need to know.

C++20 span tutorial

by Paul Silisteanu

From the article:

According to the latest C++20 draft, a span is a non-owning view over a contiguous sequence of objects. In other words, a std::span is, in essence, a pointer, length pair that gives the user a view into a contiguous sequence of elements. The elements of a span can be, for example, stored in one of the standard library sequential containers (like std::array, std::vector), in a built-in C-style array or in a memory buffer...