constexpr Dynamic Memory Allocation, C++20--Bartlomiej Filipek

Constexpr all the things.

constexpr Dynamic Memory Allocation, C++20

by Bartlomiej Filipek

From the article:

constexpr has become a major feature for compile-time programming in C++. Introduced in a simple form in C++11 evolved into almost another “sub-language”, an alternative to regular template code. In C++20 you can even use std::vector and std::string in constexpr context!

In this article, I’d like to discuss constexpr memory allocations, a building block for std::vector. Let’s see how this feature works and see its limitations...

Italian C++ Conference 2021 Call for sessions

The Italian C++ Conference 2021 is now putting together its program, and they want you to speak on C++. If you have something to share, check out their

Call for Sessions

by Marco Arena

About the conference:

The Italian C++ Conference 2021 will be online on June 19 and will host live sessions and networking on Remo.

The Italian C++ Conference is the biggest and most successful event organized by the Italian C++ Community and it is an environment where professionals, companies and students meet to share experience about C++ development and practices.

Since the first edition back in 2016, the conference has hosted amazing speakers like Andrei Alexandrescu, Walter Brown, Michael Wong, James McNellis, Bartosz Milewski, Ivan Čukić, Jens Weller, Phil Nash, Anastasia Kazakova, Peter Sommerlad, Rainer Grimm, Marc Goodner, Vittorio Romeo, and many more.

The Italian C++ Conference is put on by the Italian C++ Community and is open to anyone who wishes to be there either as a presenter or an attender.

The event will be free to attend.

The Call for Sessions will close on April 11 at 23:59 CET.

C++20 by Rainer Grimm [Leanpub PDF/iPad/Kindle]

Will you read it?

C++20

by Rainer Grimm

From the article:

My book C++20 is both: a tutorial and a reference for the C++20 standard. It teaches you C++20 and provides you with the details of this new thrilling C++ standard. The thrilling factor is mainly due to the big four of C++20...

CopperSpice: Mutex + Lock = CsLibGuarded

New video on the CopperSpice YouTube Channel:

Mutex + Lock = CsLibGuarded

by Barbara Geller and Ansel Sermersheim

About the video:

Our newest C++ video looks at a better way to lock a mutex. We look at making the data part of the solution. The video walks through several variations of an example to explain why the data, mutex, and lock should be tied together and the benefits that result from this change.

Please take a look and remember to subscribe!

Introduction to OpenCV with VcPkg and CMake -- Richard Thomson

Utah C++ Programmers has released a new video.

Introduction to OpenCV with VcPkg and CMake

by Richard Thomson

From the video description:

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.

This month, Richard Thomson will give us an introduction to OpenCV and walk us through some examples of using the library. OpenCV is a large library, so not every detail can be presented at once. However, we'll try to get a feel for what it looks like to use components from the library and perform some simple image manipulation tasks.

YouTube: https://www.youtube.com/watch?v=e7GtcsSJ51s

Don't automatically use auto parameters in C++ -- Lesley Lai

Should we use almost always auto parameters?

Don't automatically use auto parameters in C++

by Lesley Lai

From the article:

Since C++14, we can create lambda expressions that take auto parameters. C++20 generalizes this idea by allowing us to do the same thing for regular functions. With this feature's advent, the programming style where all parameters are auto becomes popular among some C++ programmers. However, I think we should not use it if we had to. The more specific the type of the parameter is, the better.