From 52fc9f2e4499e75d17e7f12d32a8391054d8634a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 20 Jul 2008 05:03:54 -0400 Subject: Brought in the final round of 3.0 code, although it does not compile yet: report, session, parts of xpath, main, journal, option. --- binary.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binary.h') diff --git a/binary.h b/binary.h index 0a8e1520..852dfe56 100644 --- a/binary.h +++ b/binary.h @@ -205,6 +205,9 @@ inline string read_string(const char *& data) { return temp; } +void read_string(std::istream& in, optional& str); +void read_string(const char *& data, optional& str); + template 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& str); template inline void write_object(std::ostream& out, const T& journal) { -- cgit v1.2.3