back_inserter « STL Basics « C++






1.Use back_insert_iterator to insert element into a vector
2.Use unique_copy to copy elements in an array to list with back_inserter