X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples%2Fminimalistic-stub.cpp;fp=examples%2Fminimalistic-stub.cpp;h=0000000000000000000000000000000000000000;hp=1c2ffcbff1fb8b60abff03463aac3ec7fa04f69e;hb=c0a5c7713b976c7165aa213b4ceb36e15b117d61;hpb=b6ead8d8d4d86e659e6d9f3a49a1b17947d47863 diff --git a/examples/minimalistic-stub.cpp b/examples/minimalistic-stub.cpp deleted file mode 100644 index 1c2ffcb..0000000 --- a/examples/minimalistic-stub.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "minimalistic-stub.hxx" -#include - -/* register types with boost serialization */ - -BOOST_CLASS_EXPORT(cmd_group_example) -BOOST_CLASS_EXPORT(testfunc_cmd) -BOOST_CLASS_EXPORT(testfunc_res) - -void -extended_type_info_test() { - cmd_group_example* t=new testfunc_cmd(); - const boost::serialization::extended_type_info * true_type - = boost::serialization::type_info_implementation::type::get_derived_extended_type_info(*t); - // note:if this exception is thrown, be sure that derived pointer - // is either regsitered or exported. - assert(NULL != true_type); - assert(std::string("testfunc_cmd")==true_type->get_key()); -}