.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@9785 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-05-03 12:10:31 +00:00
parent 0626b0a3d0
commit 542ba10512
8 changed files with 4 additions and 41 deletions

View file

@ -6,19 +6,16 @@ CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
Tuple2<int, String> x = Tuple(12, (const char *)"hello");
Tuple<int, String> x = MakeTuple(12, (const char *)"hello");
DUMP(x.a);
DUMP(x.b);
DUMP(x);
x.SetA(1);
DUMP(x);
x.Set(0, "bar");
DUMP(x);
Tuple2<int, String> y = Tuple<int, String>(13, "hello");
Tuple<int, String> y = MakeTuple<int, String>(13, "hello");
DUMP(x == y);
y = x;