1 #ifndef STLPLUS_PERSISTENT_DEQUE
2 #define STLPLUS_PERSISTENT_DEQUE
3 ////////////////////////////////////////////////////////////////////////////////
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
10 // Persistence of the STL deque
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
17 ////////////////////////////////////////////////////////////////////////////////
22 template<typename T
, typename D
>
23 void dump_deque(dump_context
&, const std::deque
<T
>& data
, D dump_fn
) throw(persistent_dump_failed
);
25 template<typename T
, typename R
>
26 void restore_deque(restore_context
&, std::deque
<T
>& data
, R restore_fn
) throw(persistent_restore_failed
);
28 } // end namespace stlplus
30 ////////////////////////////////////////////////////////////////////////////////
31 #include "persistent_deque.tpp"