|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-29 12:51:48
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
> 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?
Or, perhaps the requirement of default-constructibility does. Consider a new
dimension of granularity for your iterator category refinement!
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk