* X X, on 17.07.2010 02:19:
It's an MSVC (Microsoft Visual C++) compiler bug. By the standard a 'delete'
expression returns 'void' no matter the argument. By the way you should have
1. Mentioned which compiler and compiler version.
2. Provided a complete program example.
3. Cited the error message.
See the FAQ item about how to post a question about Code That Does Not Work.
But then the 'return' is entirely superfluous here.
Cheers & hth.,
blog at <url: http://www.yqcomputer.com/ >