forked from boostorg/container
Refactor initializer_list tests to avoid code duplication and add some missing initializer_list overload tests
This commit is contained in:
1 parent
90b3af4229
commit
7239c8e262
9 files changed
+132
-105
No files matched your search
+6
-1
@@ -121,7 +121,12 @@ bool test_support_for_initializer_list()
|
||||
if(sl != expected_list)
|
||||
return false;
|
||||
}
|
||||
|
||||
{
|
||||
slist<int> sl({ 1, 2 }, slist<int>::allocator_type());
|
||||
sl = il;
|
||||
if (sl != expected_list)
|
||||
return false;
|
||||
}
|
||||
{
|
||||
slist<int> sl = {4, 5};
|
||||
sl.assign(il);
|
||||
|
||||
Reference in new issue
Block a user