mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 03:24:59 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@9785 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0626b0a3d0
commit
542ba10512
8 changed files with 4 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue