Debian Codegraph @

yo/stl/examples/oformstream.cc

raw
1 #include "oformstream.h"
2
3 using namespace std;
4
5 int main()
6 {
7 oformstream of(cout.rdbuf());
8
9 of << "'";
10
11 of.form("%s %s", "hello", "world") << "'\n"
12 << "======\n";
13 }
14 /* Generated output:
15 'hello world'
16 ======
17 */