Boost logo

Boost :

From: James Curran (jamescurran_at_[hidden])
Date: 2003-03-26 17:41:42


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.....

--
Truth,
James Curran
www.noveltheory.com (personal)
www.njtheater.com (professional)

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