delete (nothrow) ?

Munagala V. S. Ramanath ram@netcom.com
Sat Jan 17 22:30:00 GMT 1998


The third edition of Stroustup's book lists (p. 576, Sec 19.4.5) six
variants of new and delete. However, in the header file <new> of
egcs-1.0.1 I find 6 variants of new but only these two variants
of delete:

void operator delete (void *) throw();
void operator delete[] (void *) throw();

Are the remaining variants planned for a future release ?

In case it matters, my system is a SunOS 4.1.2 Sparc 2 box and the
header file <new> is for some reason located in:
    prefix/lib/gcc-lib/sparc-sun-sunos4.1.2/egcs-2.90.23/include
rather than:
    prefix/include/g++
even though it appears in its entirety to be a GNU file and _not_
derived by running fixincludes on any Sun include file.

Ram



More information about the Gcc mailing list