[Bug c++/69531] New: Implement CWG 1307; Differently bounded array parameters

columbo@gmx-topmail.de gcc-bugzilla@gcc.gnu.org
Thu Jan 28 11:16:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69531

            Bug ID: 69531
           Summary: Implement CWG 1307; Differently bounded array
                    parameters
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: columbo@gmx-topmail.de
  Target Milestone: ---

int main() {
  int f(int(&&)[1]);
  int f(int(&&)[2]);
  f({1});
}

The list initialization sequence specified by [over.ics.list]/5 for the first
overload is better as per [over.ics.rank]/(3.1.2).


More information about the Gcc-bugs mailing list