72 lines
2.5 KiB
Markdown
72 lines
2.5 KiB
Markdown
[wide.stream.objects]
|
||
|
||
# 31 Input/output library [[input.output]](./#input.output)
|
||
|
||
## 31.4 Standard iostream objects [[iostream.objects]](iostream.objects#wide.stream.objects)
|
||
|
||
### 31.4.4 Wide stream objects [wide.stream.objects]
|
||
|
||
[ð](#lib:wcin)
|
||
|
||
`wistream wcin;
|
||
`
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L615)
|
||
|
||
The object wcin controls input from a stream buffer associated with the object stdin,
|
||
declared in [<cstdio>](cstdio.syn#header:%3ccstdio%3e "31.13.1 Header <cstdio> synopsis [cstdio.syn]")[.](#1.sentence-1)
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L620)
|
||
|
||
After the objectwcin is initialized,wcin.tie() returns&wcout[.](#2.sentence-1)
|
||
|
||
Its state is otherwise the same as required for[basic_ios<wchar_t>::init](istream.cons#lib:basic_ios,init "31.7.5.2.2 Constructors [istream.cons]")[.](#2.sentence-2)
|
||
|
||
[ð](#lib:wcout)
|
||
|
||
`wostream wcout;
|
||
`
|
||
|
||
[3](#3)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L637)
|
||
|
||
The object wcout controls output to a stream buffer associated with the object stdout,
|
||
declared in [<cstdio>](cstdio.syn#header:%3ccstdio%3e "31.13.1 Header <cstdio> synopsis [cstdio.syn]")[.](#3.sentence-1)
|
||
|
||
[ð](#lib:wcerr)
|
||
|
||
`wostream wcerr;
|
||
`
|
||
|
||
[4](#4)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L649)
|
||
|
||
The object wcerr controls output to a stream buffer associated with the object stderr,
|
||
declared in [<cstdio>](cstdio.syn#header:%3ccstdio%3e "31.13.1 Header <cstdio> synopsis [cstdio.syn]")[.](#4.sentence-1)
|
||
|
||
[5](#5)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L654)
|
||
|
||
After the objectwcerr is initialized,wcerr.flags() & unitbuf is nonzero and wcerr.tie() returns &wcout[.](#5.sentence-1)
|
||
|
||
Its state is otherwise the same as required for[basic_ios<wchar_t>::init](istream.cons#lib:basic_ios,init "31.7.5.2.2 Constructors [istream.cons]")[.](#5.sentence-2)
|
||
|
||
[ð](#lib:wclog)
|
||
|
||
`wostream wclog;
|
||
`
|
||
|
||
[6](#6)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L670)
|
||
|
||
The object wclog controls output to a stream buffer associated with the object stderr,
|
||
declared in [<cstdio>](cstdio.syn#header:%3ccstdio%3e "31.13.1 Header <cstdio> synopsis [cstdio.syn]")[.](#6.sentence-1)
|