Lably
Skip to content

C++11

2011 edition of the C++ programming language standard

  • 89 min read
  • 6 chapters

Related on Lably

Through Library (computing), Execution (computing) and Value (computer science)

Although one of the design goals was to prefer changes to the libraries over changes to the core language, C++11 does make several additions to the core language. Areas of the core language that were significantly improved include multithreading support, generic programming support, uniform initialization, and performance. Significant changes were also made to the C++ Standard Library, incorporating most of the C++ Technical Report 1 (TR1) libraries, except the library of mathematical special functions.

C++11 was published as ISO/IEC 14882:2011 in September 2011 and is available for a fee. The working draft most similar to the published C++11 standard is N3337, dated 16 January 2012; it has only editorial corrections from the C++11 standard.

C++11 was fully supported by Clang 3.3 and later, and by GNU Compiler Collection (GCC) 4.8.1 and later.

Design goals

The design committee attempted to stick to a number of goals in designing C++11:

  • Maintain stability and compatibility with older code
  • Prefer introducing new features via the standard library, rather than extending the core language
  • Improve C++ to facilitate systems and library design, rather than introduce new features useful only to specific applications
  • Increase type safety by providing safer alternatives to earlier unsafe techniques
  • Increase performance and the ability to work directly with hardware
  • Provide proper solutions for real-world problems
  • Make C++ easy to teach and to learn without removing any utility needed by expert programmers

Attention to beginners is considered important, because most computer programmers will always be such, and because many beginners never widen their knowledge, limiting themselves to work in aspects of the language in which they specialize.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication