Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-20 09:12:52


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:003e01c52d52$42ddfda0$6501a8c0_at_pdimov2...
| Thorsten Ottosen wrote:
| > Is there any reason address_of is not defined for shared_ptr,
| > scoped_ptr etc.?
|
| I've no idea what you mean, sorry.

well, currently I have to do

T* = &*ptr;

to get the address.

I haven't yet convinced me if I need it ot not so I can cast from void* to T*.

Anyway, thanks.

-Thorsten


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