This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


1229. Overload resolution with empty braced-init-list argument

Section:  [over.match.list]     Status: C++11     Submitter: Johannes Schaub     Date: 2010-12-09

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

The changes for issue 990 did not address the description of overload resolution when an argument is an empty braced-init-list. For example:

    struct A {

    A a{};       // OK

    void f(A);

    void g() {
      f({});     // ambiguous