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;


> 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

        C++ Booster (
          email: david.abrahams_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at