Iowa15
Iowa15

Reputation: 3079

Why doesn't VS2012 recognize certain C++11 keywords in a C++ project?

On http://en.cppreference.com/w/cpp/keyword, I found a list of C++11 keywords, however some of those VS2012 didn't recognize in a C++ project.

They keywords which VS didn't identify are: alignas, alignof, constexpr, noexcept, and thread_local.

Microsoft's Visual Studio website says that VS2012 implements C++11, so I'm wondering why it didn't recognize those keywords. Neither did VS recognize bitor, and others which aren't even new to C++11. So is there a specific reason why VS doesn't recognize these keywords, or is there some setting that I need to change? I have all the updates, so I don't think that is the problem.

Upvotes: 1

Views: 1035

Answers (1)

Balog Pal
Balog Pal

Reputation: 17183

Support of C++11 in VS 2012 as you see is incomplete. The keyword list you provide looks like matching the unimplemented stuff.

Upvotes: 8

Related Questions