[narrow.stream.objects] (original) (raw)

31 Input/output library [input.output]

31.4 Standard iostream objects [iostream.objects]

31.4.3 Narrow stream objects [narrow.stream.objects]

The object cincontrols input from a stream buffer associated with the object stdin, declared in .

After the objectcinis initialized,cin.tie()returns&cout.

The object coutcontrols output to a stream buffer associated with the object stdout, declared in .

The object cerrcontrols output to a stream buffer associated with the object stderr, declared in .

After the objectcerris initialized,cerr.flags() & unitbufis nonzero and cerr.tie() returns &cout.

The object clogcontrols output to a stream buffer associated with the object stderr, declared in .