Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2001-08-31 00:28:37

From: "Peter Dimov" <pdimov_at_[hidden]>
> From: "John Maddock" <John_Maddock_at_[hidden]>
> > I guess one possible solution would be to have:
> >
> > call_traits<auto_ptr<T> >::param_type
> >
> > evaluate as a non-const ref:
> >
> > auto_ptr<T>&
> This fails for temporaries of type auto_ptr<T>, doesn't it?

Yes, I agree that seems a problem. John, can you please expand a bit as to
why you see a problem with call_traits<auto_ptr<T> >::param_type being
auto_ptr<T>? I can't see it myself.

> > Would that keep everyone happy, and allow some progress to be made?
> > Peter?
> As far as mem_fun.hpp is concerned, I'll simply rename it to mem_fn.hpp.
> This debate has exceeded its quota. ;-)



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