Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-903 Support for the upcoming c++0x
  3. QTCREATORBUG-1868

c++0x assignment with initializer list marked as wrong code

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.7.0
    • C/C++/Obj-C++ Support
    • None
    • mingw-w64 (GCC 4.4) under Windows

    Description

      Although

      std::vector<double> Q2 = { 24, 32, 45, 60, 80, 110 };
      

      is not marked as incorrect,

      std::vector<double> Q2;
      Q2 = { 24, 32, 45, 60, 80, 110 };
      

      the second line here is.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              erikv Erik Verbruggen
              rubenvb Ruben Van Boxem
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes