destroy -- destroy系のconstexpr対応 #688

1 · cpprefjp · Oct. 6, 2022, 5:33 a.m.
diff --git a/reference/memory/destroy.md b/reference/memory/destroy.md index 8f67eb1f2..6157848dd 100644 --- a/reference/memory/destroy.md +++ b/reference/memory/destroy.md @@ -7,11 +7,22 @@ ```cpp namespace std { template <class ForwardIterator> - void destroy(ForwardIterator first, ForwardIterator last); // (1) + void destroy(ForwardIterator first, + ForwardIterator last); // (1) C++17 + + template <class ForwardIterator> + constexpr void destroy(ForwardIterato...