logo

Crowdly

Browser

Add to Chrome

template void replace ( ForwardIterator first, ForwardIterator last, ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

template void replace (

ForwardIterator first,

ForwardIterator last,

const T & x, const T & y)

{

while (first! = last)

{

if (* first == x)

* First = y;

++ first;

}

return first;

}

]]> Які вимоги до Ітератор, які беруть участь в алгоритмі replace (), імплементація якого наведена вище, коректні?

(C++)

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome