http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51689

             Bug #: 51689
           Summary: GCC apparently is inconsistent with warning about
                    invalid brace-elision use
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: schaub.johan...@googlemail.com


GCC gives a warning about

    std::array<int, 2>{1, 2}

But it gives an error about

    struct A {
      A():a{1, 2} { }
      std::{array<int, 2> a;
    };

I would expect consistent handling of the two cases.

Reply via email to