Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-02-16 16:24:52


"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?

-Thorsten


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