Boost logo

Boost :

From: Miki Jovanovic (miki_at_[hidden])
Date: 2000-01-25 16:06:37


darin adler <dari-_at_[hidden]> wrote:
> The pointer r.pn is const. But what's pointed to is not const. So if
we are
> talking about shared_ptr<int>, pn is of type "int *" and r.pn is of
type
> "int * const". There would be a problem if r.pn was a pointer to a
const
> int, "int const *" or "const int *", but it's not.

Hahaha, I knew it had to be simple, but now I am embarassed a little
because it is THIS simple. Hahaha.

Cheers,

Miki Jovanovic.


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