Handling errors is canceling operations--Andrzej KrzemieĊ„ski

Understand why it is done that way.

Handling errors is canceling operations

by Andrzej Krzemieński

From the article:

I actually covered this topic before, in this post, but given my recent experience I feel it needs reiterating and a bit of restructuring. It boils down to the observation that any error handling I have encountered — be it error codes, errno, exceptions, error monad — is about canceling operations that depend, directly or indirectly, on the function that reported failure. This has some consequences on how we look at our program flow and what principles we should follow when responding to failures in our programs...

CppCast Episode 197: Reflection TS with David Sankel

Episode 197 of CppCast the first podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by David Sankel to discuss the C++ Reflection TS.

CppCast Episode 197: Reflection TS with David Sankel

by Rob Irving and Jason Turner

About the interviewee:

David Sankel is a Software Engineering Manager/TL at Bloomberg and an active member of the C++ Standardization Committee. His experience spans microservice architectures, CAD/CAM, computer graphics, visual programming languages, web applications, computer vision, and cryptography. He is a frequent speaker at C++ conferences and specializes in large-scale software engineering and advanced C++ topics. David’s interests include dependently typed languages, semantic domains, EDSLs, and functional reactive programming. He is the project editor of the C++ Reflection TS, a member of the Boost steering committee, and an author of serveral C++ proposals including pattern matching and language variants.

The Rule of Zero in C++--Jonathan Boccara

What's your opinion?

The Rule of Zero in C++

by Jonathan Boccara

From the article:

Now that we’re clear on the Compiler-generated Functions, the Rule of Three and the Rule of Five, let’s put this to use to reflect on how to use the “= default” feature to have expressive and correct code...

ACCU 2019 Slides and Trip Report--Anthony Williams

Another one.

ACCU 2019 Slides and Trip Report

by Anthony Williams

From the article:

I attended ACCU 2019 a couple of weeks ago, where I was presenting my session Here's my number; call me, maybe. Callbacks in a multithreaded world.

The conference proper started on Wednesday, after a day of pre-conference workshops on the Tuesday, and continued until Saturday. I was only there Wednesday to Friday...

Second Annual C++ Foundation Developer Survey "Lite"

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

2019 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.

ACCU 2019 Videos Online -- ACCU

The ACCU held their yearly conference from 2019-04-10 to 2019-04-13 in Bristol, UK.

ACCU 2019 Videos Online

by ACCU

About the videos

Nearly all videos are in the meanwhile online. Within the 5 tracks were 3 with C++ content: E.g. the keynotes by Kate Gregory and Herb Sutter and sessions by Alisdair Meredith, Anthony Williams, John Lakos, Marshall Clow, Nial Douglass and many more.

How to Iterate Through Directories in C++

Do you know how to iterate through directories in modern C++? How to work with std::filesystem to solve this task?

How to Iterate Through Directories in C++

by Bartlomiej Filipek

From the article:

How would you implement a function that searches for files with a given extension? For example, finding all text files? or *.cpp files? To code that solution you need a way to iterate through directories. Is that possible in C++ out of the box using the standard library? Let’s see some techniques and new elements that C++17 added.