Improving my C++ time queue -- Marius Elvert

Tick, tock...

Improving my C++ time queue

by Marius Elvert

From the article:

Another code snippet that can be found in a few of my projects is the “time queue”, which is a simple ‘priority queue’ style data structure that I use to defer actions to a later time. ...

CopperSpice: Comparison Operators: Breaking Change in C++20

New video on the CopperSpice YouTube Channel:

Comparison Operators: Breaking Change in C++20

by Barbara Geller and Ansel Sermersheim

About the video:

C++20 added a feature for the compiler to auto generate comparison operators which is often referred to as the spaceship operator. We found a way this can break existing code when supplying your own comparison functions. Watch our video to find out how this can happen in your existing code which has never used the spaceship operator before.

Please take a look and remember to subscribe!

Lifetime extension of temporary objects in C++: common recommendations and pitfalls

After reading this article, you will learn the following: ways to extend the lifetime of a temporary object in C++, various tips and tricks; pitfalls of the lifetime extension that a C++ programmer may face.

Lifetime extension of temporary objects in C++: common recommendations and pitfalls

by Evgeny Neruchek

From the article:

You can extend the lifetime of a temporary array by referencing one of its elements. C++ has a special mechanism for this. But I would recommend you using it only in the disputes with your co-workers (and maybe in metaprogramming with the old C++ standards), since this mechanism is not so easy-to-use. However, using this mechanism does not result in dangling references, and the lifetime of the temporary array is extended to the lifetime of the reference to its element.

FOSSA is announcing the GA of a security and license scanning capability for C and C++ projects

FOSSA was founded to provide the most relevant and real-time end-to-end governance for all third-party code. They now announce the general availability of C and C++ Security and License Scanning

Announcing the GA of C and C++ Security and License Scanning
By Gauthami Polasani

From the article:

Unlike other C/C++ scanning tools, FOSSA does not take a one-solution-fits-all approach to dependency identification in such a complex and layered ecosystem. FOSSA uses multi-pronged strategies (as described below) to accurately identify dependencies and surface security and license risks — regardless of how the code is included.).

Convenient Unicode UTF-8 UTF-16 Conversion Functions for Windows C++ Code -- Giovanni Dicanio

In Windows C++ programming many times there's a need to convert text between UTF-8 and UTF-16 encodings.

Convenient Unicode Conversion Functions for Windows C++ Code

by Giovanni Dicanio

From the article:

I published on GitHub a header-only library (Utf8Conv) that implements some convenient functions to convert text between UTF-8 and UTF-16 Unicode encodings.

I developed the library using Visual Studio 2019 with C++17 features enabled.

C++ on Sea 2023

C++ on Sea will be back by the sea, again, for 2023. This time we'll be running in the last week of June (27th-30th)

C++ on Sea 2023

From the article:

A limited number of Super Early Bird tickets are available now at a larger discount. Once they are gone Early Bird tickets will remain available until the speakers are announced (or they run out) - after which tickets will be full price.

We'll soon open the call for speakers and provide more information

...

Meeting C++ 2022 is in 3 weeks!

This years Meeting C++ conference is only 3 weeks away! Not much time left to join this years conference in Berlin or online for watching the talks and being part of the discussions around C++ and software design!

Meeting C++ features this year keynotes by Nicolai Josuttis, Daniela Engert and Klaus Iglberger! Online the conference offers AMAs with Andrei Alexandrescu, Inbal Levi and Bjarne Stroustrup. Onsite 3 tracks are hosted, with a 4th track being online only.

Meeting C++ 2022

by Jens Weller

From the page:

Meeting C++ 2022 will be held as a hybrid event in Berlin and online on 17th - 19th November 2022.

This years conference will be hybrid, a limited number of attendees will be able to join in Berlin, but the conference will also feature online and onsite only content. You'll be able to meet and exchange with the world wide C++ community for 3 full days.