Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-02-16 17:26:45


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:u7jl8qlp1.fsf_at_boost-consulting.com...
> | "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
> |
> | > "Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
>
> | > | 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 ?
> |
> | You can't. But you can't do it portably with reinterpret_cast either.
>
> I see, does this implies that it's impossible to wrap an iterator with
> void* as its value type?

No; I don't see any relationship there.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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