1 #ifndef STLPLUS_PERSISTENT_COMPLEX
2 #define STLPLUS_PERSISTENT_COMPLEX
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 // Set of persistence routines for the STL classes
12 ////////////////////////////////////////////////////////////////////////////////
14 #include "persistence_fixes.hpp"
15 #include "persistent_contexts.hpp"
18 ////////////////////////////////////////////////////////////////////////////////
23 template<typename T
, typename D
>
24 void dump_complex(dump_context
&, const std::complex<T
>& data
, D dump_fn
) throw(persistent_dump_failed
);
26 template<typename T
, typename R
>
27 void restore_complex(restore_context
&, std::complex<T
>& data
, R restore_fn
) throw(persistent_restore_failed
);
29 } // end namespace stlplus
31 ////////////////////////////////////////////////////////////////////////////////
32 #include "persistent_complex.tpp"