]> gcc.gnu.org Git - gcc.git/commit
Remove array_allocator extension, deprecated since 4.9.0
authorJonathan Wakely <jwakely@redhat.com>
Mon, 13 May 2019 10:49:58 +0000 (11:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 13 May 2019 10:49:58 +0000 (11:49 +0100)
commit0d09ca2550da86793e9bcc2820524fc4d6486e74
treedbc8953fb6d81b7e2492e72533e73590a32d892e
parent6db881be90d9b953ed48c69f6ecbdbb534d8d678
Remove array_allocator extension, deprecated since 4.9.0

This type is not a conforming allocator, because it cannot be reliably
rebound to allocate for a different type. The result of the rebind
transformation still uses the same underlying std::tr1::array<T, 1>
array, which may not be correctly aligned or even have elements the
right size for the value_type of the rebound allocator.

It has been deprecated for several years and should now be removed.

* doc/xml/manual/allocator.xml: Remove documentation for
array_allocator.
* doc/xml/manual/evolution.xml: Document array_allocator removal.
* doc/xml/manual/using.xml: Remove header from documentation.
* include/Makefile.am: Remove <ext/array_allocator.h> header.
* include/Makefile.in: Regenerate.
* include/ext/array_allocator.h: Remove.
* include/precompiled/extc++.h: Do not include removed header.
* testsuite/ext/array_allocator/1.cc: Remove.
* testsuite/ext/array_allocator/2.cc: Remove.
* testsuite/ext/array_allocator/26875.cc: Remove.
* testsuite/ext/array_allocator/3.cc: Remove.
* testsuite/ext/array_allocator/check_deallocate_null.cc: Remove.
* testsuite/ext/array_allocator/check_delete.cc: Remove.
* testsuite/ext/array_allocator/check_new.cc: Remove.
* testsuite/ext/array_allocator/variadic_construct.cc: Remove.
* testsuite/ext/headers.cc: Do not include removed header.

From-SVN: r271119
18 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/allocator.xml
libstdc++-v3/doc/xml/manual/evolution.xml
libstdc++-v3/doc/xml/manual/using.xml
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/ext/array_allocator.h [deleted file]
libstdc++-v3/include/precompiled/extc++.h
libstdc++-v3/testsuite/ext/array_allocator/1.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/2.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/26875.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/3.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/check_allocate_max_size.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/check_deallocate_null.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/check_delete.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/check_new.cc [deleted file]
libstdc++-v3/testsuite/ext/array_allocator/variadic_construct.cc [deleted file]
libstdc++-v3/testsuite/ext/headers.cc
This page took 0.062604 seconds and 5 git commands to generate.