------- 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::pair<int,int>) for std::map<std::pair<int,int>,int>.

{1, 2} should then be used to initialize that pair.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39901

Reply via email to