Posts Tagged ‘clang’

Clang edition of the C++11/14 Rocks book

Do you use Clang to compile C++? Would you like to know all about the C++11 and C++14 language features it supports?

You can read about them in the new edition of my C++11/14 Rocks book tailored to Clang. I carefully collected everything you need into one short, clear book.

Clang …

Read More

C++11/14 compiler and library shootout

It’s been almost a year since my last comparison of C++11 support across different compilers, so I decided to take a break from working on my book about C++11/14 features in VS2013, and see how things have changed.

Once again, I’d like to …

Read More

C++11 compiler support shootout: Visual Studio, GCC, Clang, Intel

It’s been more than half a year since my last comparison of the C++11 support across different compilers. This time I’d like to see how different compilers stack up based on the documentation for the pre-release …

Read More

if (arr<:0:> not_eq 0 and not false) – alternative tokens in C++

The line of code in the heading is actually C++. I recently noticed a small section called Alternative tokens in the standard (it’s 2.6, for the curious) which allows this sort of shenanigans.

The following code will probably look slightly alien to you, like a weird C++ knockoff, but it’s …

Read More

A comparison of C++11 language support in VS2012, g++ 4.7 and Clang 3.1

If you need an excuse for celebration, today happens to be an anniversary! The C++11 standard was approved by ISO on 12 August last year, exactly one year ago. I decided to take a look at the state of C++11 language support one year on across three compilers: the upcoming …

Read More