.. Copyright (C) Dave Parillo. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with Invariant Sections being Forward, and Preface, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". .. index:: pair: algorithms; refactoring std::copy and Iterator Adapters =============================== TBD. Need an example showing how some algorithms break with default iterators if there is no 'next' element. ----- .. admonition:: More to Explore - From cppreference.com - :algorithm:`std::copy ` - :iterator:`std::inserter `