--- /dev/null
+#ifndef STLPLUS_PERSISTENT_STRING\r
+#define STLPLUS_PERSISTENT_STRING\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+// Author: Andy Rushton\r
+// Copyright: (c) Southampton University 1999-2004\r
+// (c) Andy Rushton 2004-2009\r
+// License: BSD License, see ../docs/license.html\r
+\r
+// Persistence for STL strings\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "persistence_fixes.hpp"\r
+#include "persistent_contexts.hpp"\r
+#include <string>\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+namespace stlplus\r
+{\r
+\r
+ // basic_string\r
+\r
+ template<typename charT, typename traits, typename allocator, typename D>\r
+ void dump_basic_string(dump_context&, const std::basic_string<charT,traits,allocator>& data, D dump_fn)\r
+ throw(persistent_dump_failed);\r
+\r
+ template<typename charT, typename traits, typename allocator, typename R>\r
+ void restore_basic_string(restore_context&, std::basic_string<charT,traits,allocator>& data, R restore_fn)\r
+ throw(persistent_restore_failed);\r
+\r
+ // string\r
+\r
+ void dump_string(dump_context&, const std::string& data)\r
+ throw(persistent_dump_failed);\r
+\r
+ void restore_string(restore_context&, std::string& data) \r
+ throw(persistent_restore_failed);\r
+\r
+\r
+ // Note: persistence of wstring not supported because it is too weakly defined and messy\r
+ // decide on a byte-wide encoding of wide strings (e.g. UTF8) and use the string persistence on that\r
+\r
+} // end namespace stlplus\r
+\r
+ ////////////////////////////////////////////////////////////////////////////////\r
+#include "persistent_string.tpp"\r
+#endif\r