Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-24 12:02:48


On Tuesday 24 September 2002 09:04 am, Peter Dimov wrote:
> From: "Bohdan" <warever_at_[hidden]>
>
> > Hmm ... , looks like my problem is too exotic :)
>
> No, it's not that exotic, the indirect iterator adaptor has the same
> problem. The answer to your original question is that yes, std/boost is
> lacking pointer_traits (or dereference_traits) (consider the feature
> request acknowledged), and C++ is lacking typeof(*p).

... or just iterator_traits extended to allow trivial iterators.
boost/iterator_traits.hpp, anyone?

        Doug


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