Performs a transformation on the sequence. The algorithm returns a new sequence produced by applying the unary metafunction <code>Op</code> to every element in the <code>[begin<Sequence>::type, end<Sequence>::type)</code> range. The result sequence preserves all the functional and performance characteristics of the original <code>Sequence</code>, including its size, but not identity.
<tr><td><code>Sequence</code></td><td>A model of <ahref="../Extensible_Sequence.html">Extensible Sequence</a></td><td>The original sequence. </td></tr>
<tr><td><code>typedef transform<Sequence,Op>::type s;</code></td><td>A model of <ahref="../Extensible_Sequence.html">Extensible Sequence</a></td><td></td><td></td><td><code>size<s>::type::value == size<Sequence>::type::value</code>. </td></tr>
</table>
<p>
<h3>Complexity</h3>
<p>
Linear. The operation <code>Op</code> is applied exactly <code><ahref="../Reference/size.html">size</a><Sequence>::type::value</code> times.