List initialization fail if parameter is typedef-name of the std::initializer_list.
#include <initializer_list> typedef std::initializer_list<int> type ; void f(type) {} int main() { // error: could not convert '{1, 2, 3}' to 'type' f({1,2,3}) ; } -- Summary: List initialization fail if parameter is typedef name for the std::initializer_list Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: boostcpp at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44703