Skip to content
Commit 99847d2b authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Fix copy_n to increment only n-1 times for an input iterator. This works much...

Fix copy_n to increment only n-1 times for an input iterator.  This works much better with std::istream_iterator<int>(std::cin).  Credit: Matan Nassau.

llvm-svn: 126581
parent 7e5fe6ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment