diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-20 05:03:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-20 05:03:54 -0400 |
commit | 52fc9f2e4499e75d17e7f12d32a8391054d8634a (patch) | |
tree | 164b6b4cdb6717f2df7d154793499e90bdd3ae3e /binary.h | |
parent | 59f6ffb863b7121b8a49c13dd64f9943ddaf7ed0 (diff) | |
download | fork-ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.tar.gz fork-ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.tar.bz2 fork-ledger-52fc9f2e4499e75d17e7f12d32a8391054d8634a.zip |
Brought in the final round of 3.0 code, although it does not compile yet:
report, session, parts of xpath, main, journal, option.
Diffstat (limited to 'binary.h')
-rw-r--r-- | binary.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -205,6 +205,9 @@ inline string read_string(const char *& data) { return temp; } +void read_string(std::istream& in, optional<string>& str); +void read_string(const char *& data, optional<string>& str); + template <typename T> inline void write_number_nocheck(std::ostream& out, T num) { @@ -262,6 +265,7 @@ void write_long(std::ostream& out, T num) } void write_string(std::ostream& out, const string& str); +void write_string(std::ostream& out, const optional<string>& str); template <typename T> inline void write_object(std::ostream& out, const T& journal) { |