Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-11-21 20:36:45


shunsuke wrote:
> Hi,
>
> I'm trying to fix ticket #1396: http://svn.boost.org/trac/boost/ticket/1396
> The problem is that `result_of<identity(int)>::type` is triggered,
> where `int` is the result of `value_at` invocation into `vector<int, int>`.
>
> Now, I don't know what value_at of transform_view should return.
> In fact, I don't know even what value_at means.
> value_at semantics says "Returns the actual type at a given index from the Sequence."
> What is "the acutal type" of transform_view?
> (BTW, STL iterators don't have something like value_at.)
> Any hint?

I just replied to that in the ticket :-) HTH.

Regards,

-- 
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