@@ -10,6 +10,18 @@ class basic_ostream : virtual public basic_ios<charT, traits> {
10
10
typedef charT char_type;
11
11
12
12
basic_ostream<charT, traits> &operator <<(int n);
13
+ basic_ostream<charT, traits> &operator <<(bool n);
14
+ basic_ostream<charT, traits> &operator <<(short n);
15
+ basic_ostream<charT, traits> &operator <<(unsigned short n);
16
+ basic_ostream<charT, traits> &operator <<(unsigned int n);
17
+ basic_ostream<charT, traits> &operator <<(long n);
18
+ basic_ostream<charT, traits> &operator <<(unsigned long n);
19
+ basic_ostream<charT, traits> &operator <<(long long n);
20
+ basic_ostream<charT, traits> &operator <<(unsigned long long n);
21
+ basic_ostream<charT, traits> &operator <<(float f);
22
+ basic_ostream<charT, traits> &operator <<(double f);
23
+ basic_ostream<charT, traits> &operator <<(long double f);
24
+ basic_ostream<charT, traits> &operator <<(const void *p);
13
25
14
26
basic_ostream<charT, traits> &put (char_type c);
15
27
basic_ostream<charT, traits> &write (const char_type *s, streamsize n);
@@ -25,6 +37,20 @@ template <class charT, class traits>
25
37
basic_ostream<charT, traits> &operator <<(
26
38
basic_ostream<charT, traits> &,
27
39
basic_ostream<charT, traits> &(*func)(basic_ostream<charT, traits> &));
40
+
41
+ template <class CharT , class Traits >
42
+ basic_ostream<CharT, Traits> &
43
+ operator <<(basic_ostream<CharT, Traits> &,
44
+ std::ios_base &(*func)(std::ios_base &));
45
+ template <class CharT , class Traits >
46
+ basic_ostream<CharT, Traits> &operator <<(
47
+ basic_ostream<CharT, Traits> &,
48
+ std::basic_ios<CharT, Traits> &(*func)(std::basic_ios<CharT, Traits> &));
49
+
50
+ template <class charT , class traits >
51
+ basic_ostream<charT, traits> &operator <<(basic_ostream<charT, traits> &os,
52
+ const void *p);
53
+
28
54
template <class charT , class traits >
29
55
basic_ostream<charT, traits> &endl (basic_ostream<charT, traits> &);
30
56
0 commit comments