blob: 321cfbdb82c8dfec786e5f653b1f0847d9df3a43 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <iterator>
// class ostream_iterator
// ostream_iterator(ostream_type& s);
#include <iterator>
#include <sstream>
#include <cassert>
int main()
{
std::ostringstream outf;
std::ostream_iterator<int> i(outf);
assert(outf.good());
}