4 ms·
> 2. there seem to be dozens of not-really-smoothly-interchangeable notions of what "modern C++" is, because the language is so vast, and there have in fact bee
by MAGZine 11y ago
> 2. there seem to be dozens of not-really-smoothly-interchangeable notions of what "modern C++" is, because the language is so vast, and there have in fact been several overlapping generations of "modern C++".
Everyone I've talked to understands modern C++ to be C++11 or newer.
- titanomachy 11y agoC++11 adds to the language, but is there a strong consensus on what parts of pre-2011 C++ are not allowed in "Modern C++"? I have seen C++ code advertised as "modern" that still uses naked pointers, for example, while others claim that all pointers should be reference-counted. There is no agreed-upon algorithm that answers the question "is this source file written in valid Modern C++?", because there's no agreement on what that means.