forked from boostorg/container
Fixes #9915.
Uses intrusive is_convertible in MSVC compilers. Removes some throw conditions in the documentation produced by the allocator copy constructor (as the standard requires no-throw guarantee for those).
This commit is contained in:
@@ -35,7 +35,7 @@ int main ()
|
||||
l.emplace(l.begin(), 0);
|
||||
assert(l.size() == 1);
|
||||
|
||||
//A new element will be built calling the default constructor
|
||||
//A new element will be value initialized
|
||||
l.emplace(l.begin());
|
||||
assert(l.size() == 2);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user