Fixed in bug in vector::operator==

This commit is contained in:
Ion Gaztañaga committed 2014-11-09 21:06:36 +01:00
1 parent 652b870088
commit e6d19fb408
6 files changed
+61 -6

No files matched your search

+14
View File
@@ -206,6 +206,20 @@ int map_test()
if(!CheckEqualContainers(boostmap2, stdmap2)) return 1;
if(!CheckEqualContainers(boostmultimap2, stdmultimap2)) return 1;
//some comparison operators
if(!(boostmap2 == boostmap2))
return 1;
if(boostmap2 != boostmap2)
return 1;
if(boostmap2 < boostmap2)
return 1;
if(boostmap2 > boostmap2)
return 1;
if(!(boostmap2 <= boostmap2))
return 1;
if(!(boostmap2 >= boostmap2))
return 1;
::boost::movelib::unique_ptr<MyBoostMap> const pboostmap3 = ::boost::movelib::make_unique<MyBoostMap>
( boost::make_move_iterator(&aux_vect[0])
, boost::make_move_iterator(&aux_vect[0] + 50));