fake installed libt2n for example-codegen
[libt2n] / example-codegen / other.cpp
index c84fcdc..e69de29 100644 (file)
@@ -1,39 +0,0 @@
-#include <string>
-// serialization of string
-#include <boost/serialization/string.hpp>
-// serialization of pair
-#include <boost/serialization/utility.hpp>
-
-// std::vector
-#include <vector>
-#include <boost/serialization/vector.hpp>
-
-#include "foo.hxx"
-
-#include "other_common.hxx"
-
-using namespace std;
-
-//! test function overload
-LIBT2N_EXPORT int t3(int i)
-{
-    return i;
-}
-
-//! test pair, multiple arguments and namespace
-LIBT2N_EXPORT bool t3(int i, float f, const string &s, const pair<int, float> &p)
-{
-    return (i==p.first) && (f==p.second) && (s=="hello");
-}
-
-//! test std::vector
-LIBT2N_EXPORT bool t3(const std::vector<int> &i)
-{
-    return (i.size()==1) && (i[0]==10);
-}
-
-//! test own type
-LIBT2N_EXPORT bool t3(const Foo &foo)
-{
-    return (foo.i==foo.j);
-}