X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fstlplus%2Fpersistence%2Fpersistent_set.hpp;fp=src%2Fstlplus%2Fpersistence%2Fpersistent_set.hpp;h=a2f8c7a917dfe84a5c626d7fb640691d005fbaaf;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=0000000000000000000000000000000000000000;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/stlplus/persistence/persistent_set.hpp b/src/stlplus/persistence/persistent_set.hpp new file mode 100644 index 0000000..a2f8c7a --- /dev/null +++ b/src/stlplus/persistence/persistent_set.hpp @@ -0,0 +1,34 @@ +#ifndef STLPLUS_PERSISTENT_SET +#define STLPLUS_PERSISTENT_SET +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Set of persistence routines for the STL classes + +//////////////////////////////////////////////////////////////////////////////// +#include "persistence_fixes.hpp" +#include "persistent_contexts.hpp" +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void dump_set(dump_context&, const std::set& data, D dump_fn) + throw(persistent_dump_failed); + + template + void restore_set(restore_context&, std::set& data, R restore_fn) + throw(persistent_restore_failed); + +} // end namespace stlplus + + //////////////////////////////////////////////////////////////////////////////// +#include "persistent_set.tpp" +#endif