#13 Test for bug in std::map::equal_range

5.0
closed-out-of-date
5
2005-11-15
2005-11-15
Michael Fink
No

I've added a test for the bug in std::map::equal_range
described in
http://sourceforge.net/forum/forum.php?thread_id=1384548&forum_id=490891

The patch is for 5.0 and HEAD. When unit tests are run,
the following error is shown:

MapTest::equal_range

../../../test/unit\map_test.cpp(20) : Test Failed: An
Exception was thrown.(equal_range);

When changing the map type from std::string to int (see
part 2 of test), it seems to go into an infinite loop.

Discussion

    • status: open --> closed-out-of-date
     
  • Logged In: YES
    user_id=615813

    Already done. Check CVS.

     
    • assigned_to: nobody --> complement