------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-27 16:40 -------
This fails in 4.0.3:
t.cc: In function ‘void test2()’:
t.cc:48: error: no match for ‘operator!=’ in ‘cit != std::map<_Key, _Tp,
_Compare, _Alloc>::rend() [with _Key = int, _Tp = std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, _Compare = std::less<int>,
_Alloc = std::allocator<std::pair<const int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >]()’


But works in both 4.1.0 and the mainline.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.3
      Known to work|                            |4.1.0 4.2.0


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

Reply via email to