mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.tutorial: C++11 fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@7176 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
93d48291be
commit
0fb7545c3a
4 changed files with 13 additions and 1 deletions
5
tutorial/Grid01/init
Normal file
5
tutorial/Grid01/init
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifndef _Grid01_icpp_init_stub
|
||||
#define _Grid01_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#include "GridCtrl/init"
|
||||
#endif
|
||||
4
tutorial/Gui12/init
Normal file
4
tutorial/Gui12/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _Gui12_icpp_init_stub
|
||||
#define _Gui12_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#endif
|
||||
|
|
@ -5,6 +5,9 @@ using namespace Upp;
|
|||
struct Distribution : Moveable<Distribution> {
|
||||
String text;
|
||||
Vector<int> data;
|
||||
|
||||
rval_default(Distribution);
|
||||
Distribution() {}
|
||||
};
|
||||
|
||||
Distribution CreateDist(int n)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ CONSOLE_APP_MAIN
|
|||
|
||||
y.b = "a";
|
||||
|
||||
DUMP(SgnCompare(y));
|
||||
DUMP(SgnCompare(x, y));
|
||||
DUMP(x < y);
|
||||
|
||||
static Tuple2<int, const char *> map[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue