5 Apr
2005
5 Apr
'05
2:08 a.m.
David Abrahams writes:
"Lemings, Eric B. \(Contr\)"
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