diff options
author | Nicolas Catania <niko@google.com> | 2010-02-04 12:15:36 -0800 |
---|---|---|
committer | Nicolas Catania <niko@google.com> | 2010-02-04 12:36:32 -0800 |
commit | 328cfeefa59a829fd8ae83ff1955c530a25b43ff (patch) | |
tree | 6a0466a6cff0755d987d3a8f9e221e5e90e2b2f2 /include/ostream | |
parent | 44d38f3d1ae0fd02030e259c4f93a265f91e96fc (diff) | |
download | astl-328cfeefa59a829fd8ae83ff1955c530a25b43ff.tar.gz |
iostream support for unsigned ints,float,double,bool
In <limits> added support for unsigned long and unsigned long long.
Diffstat (limited to 'include/ostream')
-rw-r--r-- | include/ostream | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/ostream b/include/ostream index f7f2734..dc0b8e0 100644 --- a/include/ostream +++ b/include/ostream @@ -73,9 +73,21 @@ class ostream: public basic_ios return *this; } - ostream& operator<<(const char_type *str); - ostream& operator<<(int val); + ostream& operator<<(unsigned long int val); + ostream& operator<<(long int val); ostream& operator<<(unsigned int val); + ostream& operator<<(int val); + ostream& operator<<(unsigned long long int val); + ostream& operator<<(long long int val); + + ostream& operator<<(double val); + ostream& operator<<(float val); + + ostream& operator<<(char_type c); + ostream& operator<<(const char_type *str); + ostream& operator<<(bool val); + + // '(nil)' if p == 0 ostream& operator<<(const void *p); // This is non standard, used by string. |