2008-11-07 Bob Walters <bob.s.walters@gmail.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2008 15:26:25 +0000 (15:26 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Nov 2008 15:26:25 +0000 (15:26 +0000)
commit71736b760fc7ad76fe0bfb98462020e70b16215f
treed2a3c6d9e64461b361d0aee8e62d31d72b6e22f3
parent814231e55a8e16da580ca2aec5f6675ed2d70ecc
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141674 138bc75d-0d04-0410-961f-82ee72b054a4
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]