mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-30 12:47:28 +02:00
Add note about C++20 providing make_unique_for_overwrite
This commit is contained in:
@ -30,8 +30,8 @@ requests from users.
|
|||||||
|
|
||||||
This library also provides additional overloads of `make_unique` for
|
This library also provides additional overloads of `make_unique` for
|
||||||
default-initialization, when users do not need or want to incur the expense
|
default-initialization, when users do not need or want to incur the expense
|
||||||
of value-initialization. The {cpp} standard does not yet provide this
|
of value-initialization. The {cpp}20 standard now provides this feature with
|
||||||
feature with `std::make_unique`.
|
`std::make_unique_for_overwrite`.
|
||||||
|
|
||||||
## Synopsis
|
## Synopsis
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user