16 Jul 02:12
Re: how can I return a 'null' smart pointer?
Steven Watanabe <watanabesj <at> gmail.com>
2008-07-16 00:12:28 GMT
2008-07-16 00:12:28 GMT
AMDG
Meryl Silverburgh wrote:
> So when I do this:
>
> shared_ptr<MyClass> aPtr;
>
> and then I check for 'null' , like this:
>
> if (aPtr == NULL) {
> // will it return true here?
>
Yes. It will be true.
In Christ,
Steven Watanabe
RSS Feed