#include #include #include #include #include int main() { std::vector const i { 1, 2, 3, 4 }; copy(begin(i), end(i), std::ostream_iterator(std::cout, "\t")); std::cout << std::endl; std::vector const d { 1.2, 3.4, 5.6, 7.8 }; copy(begin(d), end(d), std::ostream_iterator(std::cout, "\t")); std::cout << std::endl; std::vector const s { "un", "deux", "trois", "quatre" }; copy(begin(s), end(s), std::ostream_iterator(std::cout, "\t")); std::cout << std::endl; }