Created on 2010-12-09.00:00:00 last changed 142 months ago
[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(std::initializer_list<int>);
A(std::initializer_list<double>);
};
A a{}; // OK
void f(A);
void g() {
f({}); // ambiguous
}
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-03 00:00:00 | admin | set | status: fdis -> c++11 |
| 2011-04-10 00:00:00 | admin | set | messages: + msg3374 |
| 2011-04-10 00:00:00 | admin | set | status: open -> fdis |
| 2010-12-09 00:00:00 | admin | create | |