BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Clang Completes C++11 Support

| by Jeff Martin on Apr 29, 2013. Estimated reading time: 1 minute |

The Clang compiler team has completed support for the entire C++11 standard. Clang is part of the LLVM Project which provides a “collection of modular and reusable compiler and toolchain technologies.” Clang itself is based on LLVM components and features fast compilation time, and useful diagnostic messages. The multiyear effort to add full C++11 support is now complete making it suitable for developers looking to incorporate the new features of the standard into their projects.

 

This update to Clang adds the remaining details needed to support C++11:

  • attributes – Provides ability to annotate various peices of code (functions, variables, blocks, etc)
  • inheriting constructors – Allows a derived class to have the same constructors as the base
  • thread local variables – Provides the ability for threads in multithreaded applications to have unique data on a per thread basis

Looking ahead, the Clang team will begin implementing the features introduced in the C++1y standard (formal name not announced). The measure of completeness for these features can be found on the project's CXX page which is regularly updated.

 

Clang is not the only open source compiler supporting C++11, with the GCC project still actively developing its implementation. The Apache project maintains a list of several compilers (commercial and otherwise) with their corresponding level of support for C+11. 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT