pointer.h: Add experimental support for non-standard pointer types in containers...
authorBob Walters <bob.s.walters@gmail.com>
Fri, 7 Nov 2008 15:26:25 +0000 (15:26 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 7 Nov 2008 15:26:25 +0000 (15:26 +0000)
commitb74318f12b6c344a01e7039ca6a287d3c2245d12
treed2a3c6d9e64461b361d0aee8e62d31d72b6e22f3
parent7fee6a39eb712a971f56f6c80ccb6b260655d3e8
pointer.h: Add experimental support for non-standard pointer types in containers via the...

2008-11-07  Bob Walters  <bob.s.walters@gmail.com>

* include/ext/pointer.h: Add experimental support for non-standard
pointer types in containers via the allocator::pointer typedef.
(Currently only supported/working with std::vector)
* include/ext/cast.h: Add overload-able pointer casting functions
for use in containers supporting non-standard pointer types.
* include/ext/extptr_allocator.h: Add _ExtPtr_allocator.
* include/Makefile.am: Update.
* include/precompiled/extc++.h: Likewise.
* include/Makefile.in: Regenerate.
* testsuite/ext/ext_pointer/1.cc: New.
* testsuite/ext/ext_pointer/1_neg.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
* testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
3.cc: Likewise.

From-SVN: r141674
15 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/precompiled/extc++.h
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/data_access.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/element.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/resize.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/ext_pointer/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/ext_pointer/1_neg.cc [new file with mode: 0644]