--- Comment #5 from jsdeckerido at gmail dot com 2010-08-02 01:22 ---
how is this invalid?
it shouldn't matter whether map defines operator[](std::initializer_list),
only operator[](std::pairint,int) for std::mapstd::pairint,int,int.
{1, 2} should then be used to initialize that pair
expression.
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsdeckerido at gmail dot com
http://gcc.gnu.org/bugzilla