🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tony L. Hansen Fri, 17 Aug 1990 14:01
set_new_handler() and <new.h> standardization
#365
Author: Tony L. Hansen
Date: Fri, 17 Aug 1990 14:01
20 lines
1492 bytes
One of the "library" issues that Bjarne has shied away from specifying
within the reference part of E&S is that of the contents of <new.h> and the
guaranteed availability of set_new_handler(). Since E&S does NOT deal with
library issues at all, they (perhaps rightly) did not include anything
within it regarding <new.h> or set_new_handler().

Now if you look at page 280 on free store, you WILL see a description of
set_new_handler() WITHIN the commentary. However, this is NOT part of the
reference manual and has no binding on anything or anyone.

I found little else within E&S regarding <new.h> other than a statement
on page 7 requiring its existence.

The exact contents of <new.h> need to be specified within the final
standard, along with the expected interaction of operator new() in the
presence of a new handler. (Does new() loop? It's not required anywhere!)

					Tony Hansen
				att!pegasus!hansen, attmail!tony
				    hansen@pegasus.att.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads