April 2021

Starting Jobs with Coroutines

More coroutines.

Starting Jobs with Coroutines

by Rainer Grimm

From the article:

C++20 has three new keywords to make a coroutine out of a function: co_return, co_yield, and co_await. co_await requires an Awaitable as arguments and starts the Awaiter workflow. Let me show in this post, what that means...

All C++20 core language features with examples--Oleksandr Koval

All you want to know about c++20!

All C++20 core language features with examples

by Oleksandr Koval

From the article:

The story behind this article is very simple, I wanted to learn about new C++20 language features and to have a brief summary for all of them on a single page. So, I decided to read all proposals and create this “cheat sheet” that explains and demonstrates each feature. This is not a “best practices” kind of article, it serves only demonstrational purpose. Most examples were inspired or directly taken from corresponding proposals, all credit goes to their authors and to members of ISO C++ committee for their work. Enjoy!

PVS-Studio Beta plugin for CLion (Win\Linux\macOS): It's less than a month away

PVS-Studio Beta plugin for CLion (Win\Linux\macOS). It's less than a month away. Want to be the first to try it? Just sign up here.

PVS-Studio Early Access Program

by PVS-Studio Team

Description:

PVS-Studio is a static analyzer that detects errors and potential vulnerabilities in the source code of programs written in C, C++, C#, and Java. In 2021 we are planning to release the PVS-Studio plugin for C++ IDE – CLion.

Organizing the first Meeting C++ online tool fair on April 20th!

A new kind of online event: a tool fair to watch tool demos, meet with vendors and learn about C++ tooling.

Organizing the first Meeting C++ online tool fair on April 20th!

by Jens Weller

From the article:

On the evening of April 20th you'll be able to see demos, meet and chat with different C++ tool vendors at the online C++ tool fair!

Join the event on Meetup.

What auto&& means--Jonathan Boccara

A refresher.

What auto&& means

by Jonathan Boccara

From the article:

Since C++11, we have a && in the language, and it can take some time to understand its meaning and all the consequences this can have on your code.

We’ve been through a detailed explanation of lvalues, rvalues and their references, which covers a lot of ground on this topic.

But there is one aspect that we have to talk about: what does auto&&, X&&, or even int&& means in code...

C++ coroutines: What happens if an exception occurs in my return_value?--Raymond Chen

The series continue.

C++ coroutines: What happens if an exception occurs in my return_value?

by Raymond Chen

From the article:

When I introduced a basic implementation of a promise type, I noted that the return_value method or return_void method is called when the coroutine performs a co_return. But what happens if the return_value or return_void method raises an exception?

2021 Annual C++ Developer Survey "Lite"

cpp_logo.png

The Standard C++ Foundation's annual global C++ developer survey is now open. As the name suggests, it's a one-pager:

2021 Annual C++ Developer Survey "Lite"

Please take 10 minutes or so to participate! A summary of the results, including aggregated highlights of common answers in the write-in responses, will be posted publicly here on isocpp.org and shared with the C++ standardization committee to help inform C++ evolution.

The survey closes in one week.

Thank you for participating and helping to inform our committee and community.