3 ms·
> It is a diservice to C++, to paint RAII as modern C++. I think you're missing context. The term "modern C++" is used to refer to idiomatic C++ introduced in
by motorest 1y ago
> It is a diservice to C++, to paint RAII as modern C++.
I think you're missing context. The term "modern C++" is used to refer to idiomatic C++ introduced in C++11. It has been that way for a couple of decades.
https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cpp-modern-cpp https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...
The article touches on the topic of move semantics and move constructors. That's modern c++. That's not your C++98 RAII.
In the same vein, "modern CMake" is also the term used to refer to the declarative style that followed the release of CMake 3, which dates back years.