I suggest you ...

Support C++11 features

Support C++11 features

4,747 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Алексей БегуновАлексей Бегунов shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    AnonymousAnonymous shared a merged idea: Fully support the C++11 Standard  ·   · 
    Anonymous shared a merged idea: add c11 support (or at least c99). it is ridiculous for msvc not to support modern c.  ·   · 
    DardanDardan shared a merged idea: C99 and C++11 support, VC++ is terribly dissappointing at these points compared to the FREE and OPENSOURCE gcc.  ·   · 
    completed  ·  Visual Studio TeamAdminVisual Studio Team (Product Team, Microsoft) responded  · 

    We have done more work on standards support including C++14 and C++17 features. For the full breakdown, see Stephan’s post on the VCBlog, http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx.

    We are closing this item but encourage you to submit specific feature requests along with a brief example of how support will help your efforts (unblocking, cross-platform support, etc).

    Thanks!
    Visual C++ Team (ebattali@microsoft.com)

    101 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        @Tino Didriksen once that supports everything then yes, and I guess it has to do so before MS does it :)

      • Paul MPaul M commented  ·   ·  Flag as inappropriate

        How about allowing other compilers to easily be used in VS? That way we can just use g++ or clang and have all features rather than waiting years for CL to catch up.

      • Dwayne RobinsonDwayne Robinson commented  ·   ·  Flag as inappropriate

        sizeof(Class::member) still does not work in 2013 :(. It's minor, but useful.
        n2253 "Extending sizeof to apply to non-static data members without an object"

        Though, enjoying NSDMI, template typedefs, and initializer lists!

      • Mark SlaterMark Slater commented  ·   ·  Flag as inappropriate

        While the efforts of the visual studio team should not be dismissed, the fact is that GCC and CLANG are both significantly more standards compliant that Visual Studio 2013. I applaud your efforts to date, but you are still playing catch up. When will we see alignment (see Simon Dan's comment below)? user-defined literals? constexpr? attributes? unicode support (as defined by the C++11 standard - not the windows api version)? The list goes on....

      • AnonymousAnonymous commented  ·   ·  Flag as inappropriate

        Re fake votes, That's not true. People vote a lot on uservoice without commenting. Also you have to remember that each person is allowed to make several votes, not just one. Given that it's C++11 I'm not at all surprised this has so many votes.

      • Simon DanSimon Dan commented  ·   ·  Flag as inappropriate

        Please add full support of the C++11 alignment. The extensional '__alignof' and '__declspec(align(#))' is too crude. Moreover, those non-std extensions are also without any deduction mechanism as the standard alighof/alignas.
        I wanted to get
        struct C{int a;};

        struct A
        {
        char c1;
        alignas(alignof(C)) char c2[sizeof(C)];
        };

        but with the MSVC, i suppose to do:

        struct A
        {
        char c1;
        __declspec(align(__alignof(C))) char c2[sizeof(C)];
        };

        it just yield compiling error, and the following is just useless:

        struct A
        {
        char c1;
        __declspec(align(4)) char c2[sizeof(C)];
        };

        you can get __alignof(C), you can use __declspec(align(4)), but you can't use __declspec(align(__alignof(C))).
        It's just precompiling-time alignments, So it can't be used in template deduction.

      • Máté Ferenc Nagy-EgriMáté Ferenc Nagy-Egri commented  ·   ·  Flag as inappropriate

        I would like to join Noel on the inquiry. Clang and gcc are way ahead atm, which is strange taking into account that MS has stated multiple times, that they would like to shift from managed to native code, given the effort needed to maintain managed code.

        Some insight as to what the status is of the C++11 features inside the compiler, as well as the status of the STL lib update is going. Should developers expect all features being given to the public in 2 months time, or will it be 12 months time (which could still be far ahead of the 2 year VS release cycle thus far)

      ← Previous 1 3 4 5

      Feedback and Knowledge Base