|
Boost : |
Subject: Re: [boost] [Bind] Interoperability of bind/mem_fn with transform_iterator
From: Peter Dimov (pdimov_at_[hidden])
Date: 2010-05-04 13:49:24
Samuel Debionne:
> Anyway, in my opinion, using bind/mem_fn/lambda with transform_iterator
> is a common use case. That would be great to have an option to add a
> default constructor in those libs... or is it to risky ?
The proper fix would be to make transform_iterator not require a
default-constructible function object, by using boost::optional or an
equivalent.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk