extptr_allocator.h (construct, destroy): Fix for C++0x mode by overloading to take...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sat, 11 Jun 2011 16:05:08 +0000 (16:05 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 11 Jun 2011 16:05:08 +0000 (17:05 +0100)
commitc51b58dc1f298bc8255758a51e94d5b7478b56ab
tree447dd60007e928ad8f52ed863e1e46067492b948
parenta9a76bae8bc5f7d9f73acca95a55bd46c873e65b
extptr_allocator.h (construct, destroy): Fix for C++0x mode by overloading to take allocator's pointer type.

2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
mode by overloading to take allocator's pointer type.
* testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
* testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
2.cc: New.

From-SVN: r174958
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/extptr_allocator.h
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/2.cc [new file with mode: 0644]