News

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.

C++ coroutines: Basic implementation of a promise type--Raymond Chen

The series continue.

C++ coroutines: Basic implementation of a promise type

by Raymond Chen

From the article:

Last time, we diagrammed out how the pieces of a coroutine fit together. Today we’ll fill in the diagram with code.

Fortunately, most of the hard work has already been done for us by the result_holder class we already wrote. We just need to adapt it to the format required by the coroutine specification...

C++ User Group Meetings in April 2021

The monthly overview on upcoming C++ User Group Meetings

C++ User Group Meetings in April 2021

by Jens Weller

From the article:

The monthly list of upcoming C++ User Group meetings, still online due to the pandemic!

In April Meeting C++ online hosts two different events: on April 8th Andreas Fertig will speak about C++ insights and on April 20th Meeting C++ hosts an online C++ Tool fair.

There is 1 new C++ User Group: Vorarlberg.

D2349: std::pony -- Ville Voutilainen

Just posted between the mid-month standards mailings:

d2349r0: std::pony

by Ville Voutilainen

From the paper:

This is a proposal to lay to rest the long-standing question of whether C++ should optimize velocity or stability... This proposal has three things it proposes:

  • two new decl-specifiers, my and little, for the core language, and an accompanying name lookup change
  • the main library facility itself
  • allocator support for the main library facility

Taming the power of C++ with AI

A new blog article on an exciting idea for C++

Taming the power of C++ with AI

by Jens Weller

From the article:

In January Bryce Adelstein Lelbach gave a talk about NDVIDIAS CUDASTL fork at my online C++ User Group. Shortly after this talk was published on YouTube I got contacted by a start up, seeking feedback on their ideas of accelerating C++ with help of GPUs and AI...