Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-02-16 13:54:07


"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
news:cuvvd9$smq$1_at_sea.gmane.org...
| "David Abrahams" <dave_at_[hidden]> wrote in message
| news:u1xbgsbhw.fsf_at_boost-consulting.com...
|| "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
||
|
|| > The trouble in that case would be that my implementation used void*
|| > underneith and hence has special iterators that does a
|| > reinterpret_cast.
||
|| Aside: Why reinterpret_cast? Surely static_cast would be a more
|| restrictive and less alarming choice.
|
| ah yes, my mistake. I forgot static cast could do the job.

anyway, how would you convert from void*& to T*& with
a static_cast ?

-Thorsten


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