]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Document removal of implicit allocator rebinding extensions
authorJonathan Wakely <jwakely@redhat.com>
Mon, 15 May 2023 20:41:56 +0000 (21:41 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 23 Jun 2023 12:59:53 +0000 (13:59 +0100)
commitc0bc9846d9e38bbeeef6723b3c44d5977e95b827
treea916dd4b457dd254284235e0c11408541ce6b244
parent5fc6b3a03355e1f77a7c38c0fa7afb0822ad954f
libstdc++: Document removal of implicit allocator rebinding extensions

Traditionally libstdc++ allowed containers to be
instantiated with allocator's that have the wrong value type, implicitly
rebinding the allocator to the container's value type. Since C++20 that
has been explicitly ill-formed, so the extension is no longer supported
in strict modes (e.g. -std=c++17) and in C++20 and later.

libstdc++-v3/ChangeLog:

* doc/xml/manual/evolution.xml: Document removal of implicit
allocator rebinding extensions in strict mode and for C++20.
* doc/html/*: Regenerate.

(cherry picked from commit 8cbaf679a3c1875c5475bd1cb0fb86fb9d03b2d4)
libstdc++-v3/doc/html/manual/api.html
libstdc++-v3/doc/xml/manual/evolution.xml