blob: 1d7b395b5766144a45f2344eb373db652a2b6aed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
namespace std {
template <typename CharT>
class basic_ostream {
public:
template <typename T>
basic_ostream& operator<<(T);
basic_ostream& operator<<(basic_ostream<CharT>& (*)(basic_ostream<CharT>&));
};
template <typename CharT>
class basic_iostream : public basic_ostream<CharT> {};
using ostream = basic_ostream<char>;
using wostream = basic_ostream<wchar_t>;
using iostream = basic_iostream<char>;
using wiostream = basic_iostream<wchar_t>;
ostream cout;
wostream wcout;
ostream cerr;
wostream wcerr;
ostream clog;
wostream wclog;
template<typename CharT>
basic_ostream<CharT>& endl(basic_ostream<CharT>&);
} // namespace std
int main() {
std::cout << "Hello" << std::endl;
}
|