Removing & Replacing - Algorithms from the C++ standard library

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ •

  • @ahmadidham99
    @ahmadidham99 7 місяців тому

    thank you for the video :) I think this is the best video series about the C++ standard library

  • @specwnm
    @specwnm 2 роки тому +2

    really helpful thanku🔥

  • @ChrisCox-wv7oo
    @ChrisCox-wv7oo Рік тому

    4:30 You state correctly that remove_copy_if() will copy to output iterator the elements that do not satisfy the predicate. The slide however shows the output is 3 4 3. Those elements do satisfy the predicate (i > 2). The correct output is 1 1 2 2 2.
    Thanks for the great series! Very underrated channel.
    You've been quiet the last couple months. I hope your hiatus is only temporary.