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

James Curran (personal) (professional)

Boost list run by bdawes at, gregod at, cpdaniel at, john at