commit 24151c175c08222c268d9c37cc8fa255e2b2384c
Author: Jonathan Wakely
Date: Wed Apr 28 17:59:50 2021 +0100
Document deprecation of non-standard std::pair constructors for GCC 12
diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index e0ac986e..912fc59b 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -30,6 +30,13 @@ a work-in-progress.
Caveats
+ -
+ Two non-standard std::pair constructors have been deprecated.
+ These allowed the use of an rvalue and a literal 0 to construct
+ a pair containing a move-only type and a pointer. The nullptr
+ keyword should be used to initialize the pointer member instead of a
+ literal 0, as this is portable to other C++ implementations.
+
- ...