This program illustrates the use of the istream_iterator and ostream_iterator in conjunction with the copy algorithm to provide "list I/O". Press Enter to continue ... Initial contents of lst, displayed using the copy algorithm to copy values from lst to the standard output with the help of an ostream_iterator: 1 2 3 4 5 Press Enter to continue ... Now we copy some values from standard input into a list using the copy algorithm and an istream_iterator. Enter five integer values, followed by your end-of-file character: 2 4 6 8 10^Z Final contents of lst: 2 4 6 8 10 Press Enter to continue ...