mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-13 06:12:49 -06:00
syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1929 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3c76d02bc6
commit
b99842659f
17 changed files with 294 additions and 4 deletions
20
uppdev/XmlizeTest/XmlizeTest.cpp
Normal file
20
uppdev/XmlizeTest/XmlizeTest.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue