]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_bitset.hpp
archiving support for releases
[chaz/yoink] / src / stlplus / persistence / persistent_bitset.hpp
1 #ifndef STLPLUS_PERSISTENT_BITSET
2 #define STLPLUS_PERSISTENT_BITSET
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Persistence of STL bitset
11
12 ////////////////////////////////////////////////////////////////////////////////
13
14 #include "persistence_fixes.hpp"
15 #include "persistent_contexts.hpp"
16 #include <bitset>
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 template<size_t N>
24 void dump_bitset(dump_context&, const std::bitset<N>& data) throw(persistent_dump_failed);
25
26 template<size_t N>
27 void restore_bitset(restore_context&, std::bitset<N>& data) throw(persistent_restore_failed);
28
29 } // end namespace stlplus
30
31 ////////////////////////////////////////////////////////////////////////////////
32 #include "persistent_bitset.tpp"
33 #endif
This page took 0.035105 seconds and 4 git commands to generate.