forked from boostorg/container
Fixed in bug in vector::operator==
This commit is contained in:
1 parent
652b870088
commit
e6d19fb408
6 files changed
+61
-6
No files matched your search
@@ -277,6 +277,20 @@ int vector_test()
|
||||
}
|
||||
if(!test::CheckEqualContainers(boostvector, stdvector)) return 1;
|
||||
|
||||
//some comparison operators
|
||||
if(!(boostvector == boostvector))
|
||||
return 1;
|
||||
if(boostvector != boostvector)
|
||||
return 1;
|
||||
if(boostvector < boostvector)
|
||||
return 1;
|
||||
if(boostvector > boostvector)
|
||||
return 1;
|
||||
if(!(boostvector <= boostvector))
|
||||
return 1;
|
||||
if(!(boostvector >= boostvector))
|
||||
return 1;
|
||||
|
||||
//Test insertion from list
|
||||
{
|
||||
std::list<int> l(50, int(1));
|
||||
|
||||
Reference in new issue
Block a user