3 Mar
2006
3 Mar
'06
4:14 a.m.
On 3/2/06, me22
assert( src1.size() == src2.size() ); result.resize( src1.size() ); std::transform( src1.begin(), src1.end(), src2.begin(), std::add<int>() );
Sorry for the noise, that transform call should be the following instead: std::transform( src1.begin(), src1.end(), src2.begin(), result.begin(), std::add<int>() ); ~ Scott