Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-06 23:38:05


----- Original Message -----
From: "the_dilster" <dylan_at_[hidden]>
> Well it wasn't meant to be a final implementation, overriding the
> value_type/pointer/reference typedef's is pretty straight forward
> though. I don't see how this affects my problem with the current
> iterator_adaptor library (specifically the use of
> XXXgenerator<...>::type).

Until the language has template typedefs, there's no way around it.

If I had to choose between using a type generator and doing the
pointer_iterator thing I'd always go for the type generator, but you may
have different criteria for success...

-Dave


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