2 // serialization of string
3 #include <boost/serialization/string.hpp>
4 // serialization of pair
5 #include <boost/serialization/utility.hpp>
9 #include <boost/serialization/vector.hpp>
11 #include "default_common.hxx"
14 LIBT2N_EXPORT std::string testfunc(std::string str)
18 throw libt2n::t2n_runtime_error("throw me around");
20 ret.insert(0,100*1024,'x');
22 ret=str+", testfunc() was here";
26 //! test pass by const reference
27 LIBT2N_EXPORT std::string testfunc_ref(const std::string &str)
31 throw libt2n::t2n_runtime_error("throw me around");
33 ret.insert(0,100*1024,'x');
35 ret=str+", testfunc() was here";
40 LIBT2N_EXPORT int t2(int i)