]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/persistence/persistent_list.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_list.hpp
diff --git a/src/stlplus/persistence/persistent_list.hpp b/src/stlplus/persistence/persistent_list.hpp
new file mode 100644 (file)
index 0000000..b95d767
--- /dev/null
@@ -0,0 +1,32 @@
+#ifndef STLPLUS_PERSISTENT_LIST\r
+#define STLPLUS_PERSISTENT_LIST\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 of STL list\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "persistence_fixes.hpp"\r
+#include "persistent_contexts.hpp"\r
+#include <list>\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+namespace stlplus\r
+{\r
+\r
+  template<typename T, typename D>\r
+  void dump_list(dump_context&, const std::list<T>& data, D dump_fn) throw(persistent_dump_failed);\r
+\r
+  template<typename T, typename R>\r
+  void restore_list(restore_context&, std::list<T>& data, R restore_fn) throw(persistent_restore_failed);\r
+\r
+} // end namespace stlplus\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+#include "persistent_list.tpp"\r
+#endif\r
This page took 0.023339 seconds and 4 git commands to generate.