X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fstlplus%2Fpersistence%2Fpersistent_multimap.hpp;fp=src%2Fstlplus%2Fpersistence%2Fpersistent_multimap.hpp;h=0ad0716c748c1da01856e5c4f3db433985986b7d;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=0000000000000000000000000000000000000000;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/stlplus/persistence/persistent_multimap.hpp b/src/stlplus/persistence/persistent_multimap.hpp new file mode 100644 index 0000000..0ad0716 --- /dev/null +++ b/src/stlplus/persistence/persistent_multimap.hpp @@ -0,0 +1,34 @@ +#ifndef STLPLUS_PERSISTENT_MULTIMAP +#define STLPLUS_PERSISTENT_MULTIMAP +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Persistence of STL multimap + +//////////////////////////////////////////////////////////////////////////////// +#include "persistence_fixes.hpp" +#include "persistent_contexts.hpp" +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void dump_multimap(dump_context&, const std::multimap& data, DK key_dump_fn, DT val_dump_fn) + throw(persistent_dump_failed); + + template + void restore_multimap(restore_context&, std::multimap& data, RK key_restore_fn, RT val_restore_fn) + throw(persistent_restore_failed); + +} // end namespace stlplus + + //////////////////////////////////////////////////////////////////////////////// +#include "persistent_multimap.tpp" +#endif