.. ot-topic:: cxx03.stl.algorithm.copy :dependencies: cxx03.stl.basics .. include:: .. sidebar:: Documentation * `std::copy `__ @ `cppreference.com `__ * `std::copy `__ @ `cplusplus.com `__ ``copy<>`` ========== .. contents:: :local: Usage ----- .. attention:: Does not allocate |longrightarrow| *undefined behavior!* Live Hacking ------------ .. literalinclude:: code/copy.cpp :caption: :download:`code/copy.cpp` :language: c++