It’s Great That You Provide Operator Overloads, But It’s Also Nice to Have Names -- Raymond Chen
Operator overloading. Looks great. Reduces verbosity. Until it doesn’t.
It’s Great That You Provide Operator Overloads, But It’s Also Nice to Have Names
by Raymond Chen
From the article:
Consider this overloaded function call operator:
struct StorageLoader { template<DataType> DataType operator()(StorageOptions<DataType> const* options); };The idea is that you can use the function call operator on a
StorageLoaderobject to load data from storage, using aStorageOptionsto describe how you want it to be loaded.

Guarded Suspension applies a unique strategy to deal with mutation. It signals when it is done with its modification.
Recently, our team at Meteksan Defense is upgrading its development environment to use newer versions of many tools and programming languages. One of the more difficult transitions has been the upgrade of our C++11 code base to C++17 for our embedded applications.
I continue my journey with concurrency patterns in today's post. The Thread-Safe Interface fits very well when the critical sections are just objects.
Fold expressions exist in C++ since C++17 and significantly affect how we treat variadic templates. Back in the day, I wrote about
Locking is a straightforward idea to protect a critical section. A critical section is a section of code that, at most, one thread can use at any time.