3 ms·
C++11 was not legacy in 2013. It barely is considered legacy today.
by tylerhou 3y ago
C++11 was not legacy in 2013. It barely is considered legacy today.
- 1letterunixname 3y agoC++14 is a safe bet. C++17 is almost pushing it. C++23 isn't even fully implemented by any compiler. I tend to default to C++11 with C++[11,23]-portability. In general, write maximally portable code without using vendor- or standard-specific features without a/some very good reason(s). Also, C++11 is a monumental improvement over C++ from the days of rusty sharp edges of 90's C++ where one needed to follow strict standards to avoid nonobvious UB.