
18 May
2010
18 May
'10
3:10 p.m.
On 5/18/10 10:52 AM, in article 4BF2A9C4.7060601@holtmans.com, "Eric J. Holtman" wrote:
On 5/18/2010 9:38 AM, Michael Jackson wrote:
if (rx)
is only testing if the wrapper is valid, NOT the actual pointer itself that is being wrapped. What you really want is:
If (rx.get() != NULL)
No, you don't need that.
http://www.boost.org/doc/libs/1_43_0/libs/smart_ptr/shared_ptr.htm#conversio... Cool, I guess we learn something new everyday.
Thanks -- Mike Jackson