]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_complex.hpp
archiving support for releases
[chaz/yoink] / src / stlplus / persistence / persistent_complex.hpp
1 #ifndef STLPLUS_PERSISTENT_COMPLEX
2 #define STLPLUS_PERSISTENT_COMPLEX
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 // Set of persistence routines for the STL classes
11
12 ////////////////////////////////////////////////////////////////////////////////
13
14 #include "persistence_fixes.hpp"
15 #include "persistent_contexts.hpp"
16 #include <complex>
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 template<typename T, typename D>
24 void dump_complex(dump_context&, const std::complex<T>& data, D dump_fn) throw(persistent_dump_failed);
25
26 template<typename T, typename R>
27 void restore_complex(restore_context&, std::complex<T>& data, R restore_fn) throw(persistent_restore_failed);
28
29 } // end namespace stlplus
30
31 ////////////////////////////////////////////////////////////////////////////////
32 #include "persistent_complex.tpp"
33 #endif
This page took 0.032088 seconds and 4 git commands to generate.