Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 2 KB

File metadata and controls

57 lines (48 loc) · 2 KB

C++ standards


The history of C++ standardization

When C++ was created?

1979

  • 1998 - first ISO C++ standard - C++98
  • 2003 - TC1 (Technical Corrigendum 1) published as C++03. Bug fixes for C++98
  • 2005 - Technical Report 1 published (std::tr1 namespace)
  • 2011 - ratified C++0x as C++11
  • 2013 - full version of C++1y draft
  • 2014 - C++1y published as C++14
  • 2017 - C++1z published as C++17
  • 2020 - C++2a should be published as C++20

Compilers support

C++20

  • Full support: not implemented yet
  • Compiler flags: -std=c++2a

C++17

  • Full support: gcc7, clang5
  • Compiler flags: -std=c++17, -std=c++1z

C++14

  • Full support: gcc5, clang3.4
  • Compiler flags: -std=c++14, -std=c++1y
  • Enabled by default since gcc6.1

C++11

  • Full support: gcc4.8.1, clang3.3
  • Compiler flags: -std=c++11, -std=c++0x