X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fstlplus%2Fpersistence%2Fpersistent_bitset.hpp;fp=src%2Fstlplus%2Fpersistence%2Fpersistent_bitset.hpp;h=3f684e456c4ef421f4903539efe07b2c01610a4d;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=0000000000000000000000000000000000000000;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/stlplus/persistence/persistent_bitset.hpp b/src/stlplus/persistence/persistent_bitset.hpp new file mode 100644 index 0000000..3f684e4 --- /dev/null +++ b/src/stlplus/persistence/persistent_bitset.hpp @@ -0,0 +1,33 @@ +#ifndef STLPLUS_PERSISTENT_BITSET +#define STLPLUS_PERSISTENT_BITSET +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Persistence of STL bitset + +//////////////////////////////////////////////////////////////////////////////// + +#include "persistence_fixes.hpp" +#include "persistent_contexts.hpp" +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void dump_bitset(dump_context&, const std::bitset& data) throw(persistent_dump_failed); + + template + void restore_bitset(restore_context&, std::bitset& data) throw(persistent_restore_failed); + +} // end namespace stlplus + + //////////////////////////////////////////////////////////////////////////////// +#include "persistent_bitset.tpp" +#endif