logoalt Hacker News

Xirdus • today at 5:38 PM • 0 replies • view on HN

GCC routinely adds support for C++ features before they're fully approved. -std=c++0x was added 2 years before C++11 was published, and initially included some features that were ultimately removed. -std=c++26 is available since 2024 and -std=c++29 is going to be added soon in GCC 17.

Similar story with Clang, though CBA to find exact dates/versions.