By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,902 Members | 1,352 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,902 IT Pros & Developers. It's quick & easy.

about the "this pointer" and "delete"

P: n/a
well,i am curious to know what would be the output of the following:

delete this;

basically , comment on this .



Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"maadhuu" <ma************@yahoo.com> wrote in message
news:d0******************************@localhost.ta lkaboutprogramming.com...
well,i am curious to know what would be the output of the following:

delete this;

basically , comment on this .

See this:
http://www.parashift.com/c++-faq-lit...html#faq-16.15

Regards,
Sumit.
--
Sumit Rajan <su*********@gmail.com>
Jul 23 '05 #2

P: n/a
maadhuu wrote:
well,i am curious to know what would be the output of the following:

delete this;

basically , comment on this .


basically , read the FAQ (http://www.parashift.com/c++-faq-lite/)
Jul 23 '05 #3

P: n/a
On Mon, 25 Apr 2005 12:51:37 -0400, maadhuu <ma************@yahoo.com>
wrote:
well,i am curious to know what would be the output of the following:

delete this;

basically , comment on this .


well, you're biting the hand that feeds you...
;)
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.