C
Chris Forone
hello group,
why i cant make the InputIterator of the following func-temp const?
template<typename InputIterator, typename OutputIterator>
OutputIterator Types::Copy(InputIterator source,
OutputIterator first, OutputIterator last)
{
while (first != last)
*first++ = *source++;
return last;
}
thanks & hand, chris
why i cant make the InputIterator of the following func-temp const?
template<typename InputIterator, typename OutputIterator>
OutputIterator Types::Copy(InputIterator source,
OutputIterator first, OutputIterator last)
{
while (first != last)
*first++ = *source++;
return last;
}
thanks & hand, chris