testfunc_res* res=dynamic_cast<testfunc_res*>(rc.get_result());
if (!res)
+ // TODO: another exception and details
throw libt2n::t2n_communication_error("result object of wrong type");
return res->get_data();
}
// include in this compilation unit to ensure the compilation unit is used
// see also:
// http://www.google.de/search?q=g%2B%2B+static+initializer+in+static+library
-#include "minimalistic-stub.cpp"
+#include "minimalistic-stub-once.hxx"