forked from WG21-SG14/SG14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aa_inplace_vector] Copying/moving an Alloc is not allowed to throw
The Standard specifies in [allocator.requirements.general] that copy and move operations on allocators never throw, regardless of whether they're marked noexcept or not. And in fact `boost::interprocess::allocator` does not mark its SMFs as noexcept. So we shouldn't check the trait here; instead we should assume that the operations are non-throwing.
- Loading branch information
1 parent
81eeab1
commit 8f1aa6f
Showing
2 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters