Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-02-12 12:59:39

--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:

> > Other compilers give me other errors. It seems that the root
> > problem is that pointer_to_unary function incorrectly define
> > result_type. While all others functors that returns reference
> > identity, select1st,select2nd ) define result_type as T if
> > returns T const&, pointer_to_unary_function automatically
> > result type inherited from its argument, i.e. result_type is
> > like T const&.
> That's a known issue with some of the standard adaptors. We could
adjust for
> it by stripping the reference from the type, but unfortunately
since you're
> using MSVC that wouldn't help you.

That exactly what I meant we neeed to do. Though it would not work
without partial specialization it still could be very useful. I think
that boost should provide a generic solutions for this kind of
> -Dave


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