This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
delete (nothrow) ?
- To: egcs at cygnus dot com
- Subject: delete (nothrow) ?
- From: "Munagala V. S. Ramanath" <ram at netcom dot com>
- Date: Sat, 17 Jan 1998 11:05:44 -0800 (PST)
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