On 10 June 2011 22:06, Jonathan Wakely wrote: > > * overload construct and destroy so both the old- and new-style > signatures are present. > >      template >        void >        construct(pointer __p, _Args&&... __args) >        { construct(__p.get(), std::forward<_Args>(__args)...); } > >      void destroy(pointer __p) >      { destroy(__p.get()); } Here's a patch implementing this option along with some tests to use the ExtPtr_allocator in C++0x mode Those tests fail without the patch so I'm committing this so that ExtPtr_allocator isn't completely broken in C++0x mode. 2011-06-11 Jonathan Wakely * 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. Tested x86_64-linux, committed to trunk.