Skip to content

Instantly share code, notes, and snippets.

@willeccles
Last active March 25, 2024 23:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willeccles/661b4cdc81f07c6daa98afce772c0703 to your computer and use it in GitHub Desktop.
Save willeccles/661b4cdc81f07c6daa98afce772c0703 to your computer and use it in GitHub Desktop.
__cplusplus values for each C++ standard version

__cplusplus Values

Since it's impossible to find one concise source anywhere, as far as I can tell:

ISO C++ Standard Value
1998/2003 199711L
2011 201103L
2014 201402L
2017 201703L
2020 202002L
2023 202302L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment