|
Boost : |
From: Kresimir Fresl (fresl_at_[hidden])
Date: 2001-03-29 11:48:21
Hi Jeremy,
On Thursday 29 March 2001 18:13, Jeremy Siek wrote:
> What a bummer, it looks like we can't legally use std::binder1st with
> transform_iterator. The requirement for default constructor is not
> accidental, it is absolutely required because the function object needs to
> be contained in the iterator, and the standard requires iterators to have
> default constructors. We'll have to use a replacement for binder1st in the
> example.
> Perhaps the lack of default constructor in std::binder1st qualifies as a
> DR?
Is it possible (as a `first aid' ;O) to add default constructors to
boost::binder1st and other related function object adapters in
<boost/functional.hpp> ?
Sincerely,
Kresimir
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk