pure and custom new / delete

David Nadlinger see at klickverbot.at
Tue Jun 26 12:57:11 PDT 2012


On Tuesday, 26 June 2012 at 19:48:26 UTC, Steven Schveighoffer 
wrote:
> Note that you should be *extremely* careful of saying something 
> is pure when it is not typechecked by the compiler.

I can only second that – especially because depending on what 
the signature of the function is, the compiler might optimize out 
calls to them.

David


More information about the Digitalmars-d mailing list