1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // class ostream_iterator
14 // ostream_iterator(const ostream_iterator& x);
22 std::ostringstream outf;
23 std::ostream_iterator<int> i(outf);
24 std::ostream_iterator<int> j = i;