]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/persistence/persistent_multiset.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_multiset.hpp
diff --git a/src/stlplus/persistence/persistent_multiset.hpp b/src/stlplus/persistence/persistent_multiset.hpp
new file mode 100644 (file)
index 0000000..d451a8e
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef STLPLUS_PERSISTENT_MULTISET\r
+#define STLPLUS_PERSISTENT_MULTISET\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 multiset\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "persistence_fixes.hpp"\r
+#include "persistent_contexts.hpp"\r
+#include <set>\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+namespace stlplus\r
+{\r
+\r
+  template<typename K, typename P, typename D>\r
+  void dump_multiset(dump_context&, const std::multiset<K,P>& data, D dump_fn)\r
+    throw(persistent_dump_failed);\r
+\r
+  template<typename K, typename P, typename R>\r
+  void restore_multiset(restore_context&, std::multiset<K,P>& data, R restore_fn)\r
+    throw(persistent_restore_failed);\r
+\r
+} // end namespace stlplus\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+#include "persistent_multiset.tpp"\r
+#endif\r
This page took 0.024588 seconds and 4 git commands to generate.