mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
20 lines
294 B
C++
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");
|
|
}
|