C++ named requirements: CopyInsertable (since C++11)
Min standard notice:
Specifies that an object of the type can be copy-constructed in-place by a given allocator.
# Notes
If A is std::allocator
Although it is required that customized construct is used when constructing elements of std::basic_string until C++23, all implementations only used the default mechanism. The requirement is corrected by P1072R10 to match existing practice.
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 2177 | C++11 | evaluting expr did not have any postcondition | added |
| LWG 3957 | C++11 | v could denote an rvalue of type T | excluded |