This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

delete (nothrow) ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]