Returns f as its value. Parsing associates leftward, so that several expressions may be displayed with something like f<<x<<y<<z. If f is a string, then a new file with name f is created, the expression x is printed into f, and the file f is closed.
i1 = x = 5
o1 = 5
i2 = stdout << "the value of x is " << x << endl
the value of x is 5
o2 = --file stdout--
o2 : File
See also <<.
Go to main index.
Go to concepts index.