Boost logo

Boost :

From: Joe Gottman (jgottman_at_[hidden])
Date: 2002-06-26 19:44:54


----- Original Message ----- > >I think 'c_ptr' would be a very good choice.
>
> And I still like &*p better than p.get() or mumble_ptr(p).
>

   I don't. &*p has two disadvantages. The major one is that it is
undefined if p.get() happens to be null. Also, it fails if the class that p
points to has operator& overloaded.

Joe Gottman


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