|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-03-31 18:32:45
"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:
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!)
As for the exact type of the result, well, MPL transformation
algorithms never tell you that, regardless of the inputs.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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