ultimatepp/uppdev/BogusAssist/main.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

22 lines
565 B
C++

#include <CtrlLib/CtrlLib.h>
template <class T, class S>
struct ATesting : public Moveable<S> {
void Assign(const ATesting& s);
void Assign(const T *s, int len);
void DeepAssign(const ATesting& s);
};
class Testing : public ATesting<char, Testing> {
typedef ATesting<char, Testing> B;
Testing(Data *data) { ptr = CreateEmpty(data); }
Testing(int, char *p) : B(0, p) {}
Testing Mid(int pos, int length) const { return Testing(0, B::Mid(pos, length)); }
};
GUI_APP_MAIN
{
MyHello().Run();
}