From 366c60ad3b60b0da5ecb945690eaf6a26cb35857 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Thu, 15 Dec 2022 01:11:38 -0500 Subject: [PATCH] Add note about C++20 providing make_unique_for_overwrite --- doc/smart_ptr/make_unique.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/smart_ptr/make_unique.adoc b/doc/smart_ptr/make_unique.adoc index a1fc5d4..51a7ce4 100644 --- a/doc/smart_ptr/make_unique.adoc +++ b/doc/smart_ptr/make_unique.adoc @@ -30,8 +30,8 @@ requests from users. This library also provides additional overloads of `make_unique` for default-initialization, when users do not need or want to incur the expense -of value-initialization. The {cpp} standard does not yet provide this -feature with `std::make_unique`. +of value-initialization. The {cpp}20 standard now provides this feature with +`std::make_unique_for_overwrite`. ## Synopsis