ultimatepp/uppdev/XmlizeTest/XmlizeTest.cpp
cxl b99842659f syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1929 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-24 13:21:31 +00:00

20 lines
294 B
C++

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