95

A preview version of Visual Studio 2012 (the next version after VS2010) is now available.

Does anyone know what new C++11 features it supports? (I'm not in a position to try it out at the moment).

6
  • 18
    And I'm left disappointed once more. Now to figure out how to use GCC/GDB more fluently...
    – GManNickG
    Sep 14, 2011 at 20:11
  • 3
    GMan: I think their uptake on new features is pretty astonishing, certainly in view of where they're coming from (think VC 6.0 and shudder)... Sure, GCC's support is astonishing, but there are a lot of other places it is lacking too...
    – rubenvb
    Oct 6, 2011 at 15:53
  • 5
    @rubenvn: Just out of curiosity, in what places is GCC lacking? Oct 6, 2011 at 23:11
  • 5
    GCC is not lacking in support of C++ 11, it is pretty much umatched. VC11 is humorously lacking. It is not even close.
    – 987 S
    Jun 20, 2012 at 12:12
  • 9
    @HighCommander4: In what places is GCC lacking? Debugging tools.
    – user541686
    Jan 7, 2013 at 19:38

1 Answer 1

77

It's worth noting that Visual Studio 2010 already had quite a bit of early C++11 support. So to summarize what is already linked to in other answers, here is what is new in Visual Studio 11 that was not part of Visual Studio 2010:

In early November 2012, Microsoft announced the Visual C++ Compiler November 2012 CTP, which adds more C++11 functionality to Visual Studio 2012:

6
  • 20
    That's actually quite disappointing... I was hoping for variadic templates and uniform initialization, which GCC has been supporting for two and half and one and a half years, respectively... Sep 14, 2011 at 20:18
  • @High uniform initialization isn't even on their list of features in the spec (doesn't even show up with a "No"). Is there perhaps another name for that? Sep 14, 2011 at 20:54
  • 2
    I really love my type safe print and printf functions. I was really hoping that 2011 would finally add variadic templates. Missing variadics is also effecting emplace_back and make_shared. Is there something about cl that makes it particularly hard to implement variadics?
    – deft_code
    Sep 15, 2011 at 20:14
  • 5
    Herb Sutter said in his second Build session (channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-835T) that they tried to do variadic templates ... tried and tried and they are not done in time for this version. This affected what other things they could do, as well. Sep 18, 2011 at 22:24
  • 2
    Here is a good comparison of different compilers on C++11. wiki.apache.org/stdcxx/C++0xCompilerSupport Good rule: don't use C++11 in GCC and expect it to compile in VS2012
    – Chris Hill
    Oct 31, 2012 at 22:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.