Summary
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I show you copy_if and copy_n which are two new forms since C++11 in the algorithms library. These algorithms document more clearly the intent of the code, and are otherwise useful in copying a subset of data or a subset of data-based on a predicate (note copy itself can be supplied a predicate as well, but copy_n is more explicit in how many elements as a maximum to copy). ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz
