diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-04-13 22:00:29 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-04-13 22:00:29 +0000 |
commit | 900bf84c403caf83e18928b066544f402aae1122 (patch) | |
tree | 209fb2b1afe59f1aabadddbb145bf7fddfa16a03 /src/archive.h | |
parent | bad1c7623d82fe231ed7033669aec554f193a6fa (diff) | |
download | libbu++-900bf84c403caf83e18928b066544f402aae1122.tar.gz libbu++-900bf84c403caf83e18928b066544f402aae1122.tar.bz2 libbu++-900bf84c403caf83e18928b066544f402aae1122.tar.xz libbu++-900bf84c403caf83e18928b066544f402aae1122.zip |
Ok, that was strange, somehow the archive class didn't actually supoprt float,
double, or long double...now it does.
Diffstat (limited to '')
-rw-r--r-- | src/archive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/archive.h b/src/archive.h index 519b2a7..dcbd219 100644 --- a/src/archive.h +++ b/src/archive.h | |||
@@ -100,6 +100,9 @@ namespace Bu | |||
100 | virtual Archive &operator<<(unsigned long p); | 100 | virtual Archive &operator<<(unsigned long p); |
101 | virtual Archive &operator<<(signed long long p); | 101 | virtual Archive &operator<<(signed long long p); |
102 | virtual Archive &operator<<(unsigned long long p); | 102 | virtual Archive &operator<<(unsigned long long p); |
103 | virtual Archive &operator<<(float p); | ||
104 | virtual Archive &operator<<(double p); | ||
105 | virtual Archive &operator<<(long double p); | ||
103 | 106 | ||
104 | virtual Archive &operator>>(bool &p); | 107 | virtual Archive &operator>>(bool &p); |
105 | virtual Archive &operator>>(char &p); | 108 | virtual Archive &operator>>(char &p); |
@@ -113,6 +116,9 @@ namespace Bu | |||
113 | virtual Archive &operator>>(unsigned long &p); | 116 | virtual Archive &operator>>(unsigned long &p); |
114 | virtual Archive &operator>>(signed long long &p); | 117 | virtual Archive &operator>>(signed long long &p); |
115 | virtual Archive &operator>>(unsigned long long &p); | 118 | virtual Archive &operator>>(unsigned long long &p); |
119 | virtual Archive &operator>>(float &p); | ||
120 | virtual Archive &operator>>(double &p); | ||
121 | virtual Archive &operator>>(long double &p); | ||
116 | 122 | ||
117 | /* | 123 | /* |
118 | virtual Archive &operator<<(bool); | 124 | virtual Archive &operator<<(bool); |