Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-27 10:04:47


"James Curran" <jamescurran_at_[hidden]> writes:

> David Abrahams wrote:
>> Am I crazy, or should there be a pair of parens after "ptr"?
>
> To the latter question, no. In the example "ptr" refers to a public
> data member of struct A, and is of type shared_ptr<int>. Parens would only
> be needed if we wanted to say "a.ptr.ptr()"
>
> The former has always been an open question.....

Thank you for your vote of confidence ;-)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk