#include using namespace Upp; template struct MyVector : public Vector { void Foo() {} void Xmlize(XmlIO xml) { Upp::Xmlize(xml, *this); } }; CONSOLE_APP_MAIN { MyVector x; x.Add(10); DDUMP(StoreAsXML(x, "test")); LOG("XXX"); }