Boost logo

Boost Users :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-04-04 21:08:28


David Abrahams writes:
> "Lemings, Eric B. \(Contr\)" <Eric.Lemings_at_[hidden]> writes:
>
>> What is the result type of transform if the algorithm is given two
>> sequences of different sizes?
>
> I think the docs imply strongly that the result sequence will be
> the same length as the first sequence:

That was the intented semantics, but it appears that tests don't cover
this case, and things don't quite work as they supposed to. I'll take
a look at it.

>
> Complexity:
>
> Linear. Exactly ... size<s1>::value applications of op / op2 and
> in::operation
>
> ...although the semantics are stated in terms of pair_view, which is
> never defined in the docs (ahem!)

Yes, it's a known issue.

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net