[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about "new" and "delete" ?
From: |
Thomas Maeder |
Subject: |
Re: question about "new" and "delete" ? |
Date: |
Sun, 13 Mar 2005 21:41:29 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"jack" <lixiaoyao5880@yahoo.com> writes:
> sorry,what is the smart point?can you give me an example?
It's "smart pointer", not "smart point". Smart pointer types are types
whose instances behave similarly to pointers, thanks to appropriate
operator overloading. As has already been posted, the Boost library
has some good examples. The Standard C++ Library comes with the
std::auto_ptr template.
Re: question about "new" and "delete" ?, Thomas Maeder, 2005/03/06