vector new and delete
Mark Mitchell
mark at codesourcery.com
Thu Jun 29 00:46:39 UTC 2000
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 at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the cxx-abi-dev
mailing list