]> 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 13:01:06 +0000 (14:01 +0100)
commit291df257830e4ff877c716cfe6430c03677d9606
tree49ddef82f51c6db969eb957fa012493010e0a605
parentb272bc0fbf84454cae8c02e7404cfb23641380cd
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