Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-10 14:42:03


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

>
> Once you have a solution to these two problems, working with arbitrary
> function objects becomes straightforward. A projection_iterator can simply
> use typeof(f(*it)) to infer its value_type;

Thanks.

> moreover, the whole concept of
> Iterator::value_type becomes redundant - you can use typeof(*it) to
> determine it.

Unless we allow proxy references ;-)

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================


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