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)



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to