Coffeehouse Thread

13 posts

C++11 is Officially Official!!!

Back to Forum: Coffeehouse
  • User profile image
    Charles
  • User profile image
    algorith

     Great, I like quite a number of new features including lambdas, auto keyword, threading libraries, etc.. C++ feels modern again. 

     Now if only Windows 8 has good support for it  Wink

  • User profile image
    fanbaby

    So, how many hundreds of pages were added to the spec? Smiley

     

    Seriously, check out to the Go spec.

  • User profile image
    Ray7

    Wow. That is a lot of new stuff. I can see why it took so long.

  • User profile image
    aL_

    awsome stuff, i wonder if they'll be able to get full support for it in VS.Next Smiley

  • User profile image
    W3bbo

    Officially official? As opposed to unofficially official or officially unofficial?

    Now I'm slightly annoyed I'll have to re-buy Stroustrup's C++ book again.

  • User profile image
    Charles

    @W3bbo: We can officially call it C++11, as opposed to unofficially calling it that... Yes, do buy that book. Smiley

    C

  • User profile image
    felix9

    ,Charles wrote

    We can officially call it C++11

    Herb Sutter:

    we hope it will be published well within the year, and then we'll be able to call it "C++11."

  • User profile image
    Charles

    @aL_: Compilers will need time to catch up... VC has had support for many of the key C++11 features for a few years now (lambdas, auto, shared_pointer, make_shared, etc...). Unfortunately, none of the compilers today support what is in my opinion ( Andrei brainwashed me at C++ and Beyond, I guess Smiley ) a key feature -> template aliasing with the using keyword (you can't typedef templates in C++ today...). Of course, it also works for types that aren't templated. It's a convenient new feature.

    I also think variadic templates will prove to be a powerful and widely-used new feature over time. Of course, most folks won't use variadic templates in their day to day lives (in fact, most current large code bases will not move to C++11 for quite some time and what new features are used will be based on need and agreeable cost/change...). VT is an advanced feature (then there's variadic variadic template templates Smiley ), but having just learned how it should be used and could be used, well, I hope to see it supported everywhere.

    C

  • User profile image
    Charles

    @felix9: Well, if it ends up being called C++12, you can throw eggs at me. In my mind, it will be published before Dec. 31, 2011.
    C

  • User profile image
    blowdart

    ,Charles wrote

    @felix9: Well, if it ends up being called C++12, you can throw eggs at me. In my mind, it will be published before Dec. 31, 2011.
    C

    Someone remind me off this post if it ends up as C++12 - I'll do it on your behalf and we'll get someone to video it Big Smile

  • User profile image
    Charles

    @blowdart: Fair enough Smiley

    C

  • User profile image
    felix9

    @Charles: OK, I've checked the history of C++98

    http://www.open-std.org/jtc1/sc22/wg21/docs/projects

    The C++ standard was out for FDIS ballot ending 1998-06-23.
    The C++ standard was published 1998-09-01 by ISO ITTF as ISO/IEC 14882:1998.

    so hopefully you will be OK. Smiley

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.