#include using namespace Upp; CONSOLE_APP_MAIN { StdLogSetup(LOG_COUT|LOG_FILE); Tuple2 x = Tuple(12, (const char *)"hello"); DUMP(x.a); DUMP(x.b); DUMP(x); Tuple2 y = Tuple(13, "hello"); DUMP(x == y); y = x; DUMP(x == y); int i; String s; Tie(i, s) = x; DUMP(i); DUMP(s); Index< Tuple2 > ndx; ndx.Add(x); ndx.Add(y); DDUMP(ndx.Find(x)); DDUMP(ndx.Find(y)); }