Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2002-01-13 19:08:18


> This would not be a major issue for a rarely used function, but I have
> found that I tend to make extensive use of 'boost::shared_ptr::get'.
> I would not like to replace every instance of 'p.get()' with
> 'boost::GetImplPtr(p)' or something equally long.

If you hate typing as much as I do you can just say '&*p',
which works for raw pointers as well.


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