[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
vector new and delete
- To: cxx-abi@xxxxxxxxxxxx
- Subject: vector new and delete
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2000 17:46:39 -0700
Folks --
__cxa_vec_new and __cxa_vec_delete would be a lot more useful if
they accepted pointers to the allocation and deallocation functions as
well. As it is, they are hard-wired to use the `::operator new[]' and
`::operator delete[]'. Since the whole purpose of these functions is
to provide compilers a convenient way to manage construction and
destruction, I think we should either add allocation/deallocation
routine pointers to these functions, or add additional entry points.
This additional flexibility would also be useful for C++-compatible
allocations from other languages, etc.
Jim, would you add this to the open issues list?
--
Mark Mitchell mark@xxxxxxxxxxxxxxxx
CodeSourcery, LLC http://www.codesourcery.com
|