From: Joel de Guzman (joel_at_[hidden])
Date: 2007-11-22 20:40:17
> If we are following Boost.Iterator's way,
> "value concept" should be placed in not FunctionObject but in transform_view.
> Because boost::transform_iterator can't always determine
> its `value_type` or `reference` from FunctionObject,
> you can pass explicitly `value_type` and `reference` type to boost::transform_iterator.
> template<class Seq, class F, class ResultOfDeref = use_default, class ValueOf = use_default>
> struct transform_view;
Cool! I assume ResultOfDeref and ValueOf are metafunctions?
Let's continue this discussion off-list.
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk