4 extern "C" int printf(const char *, ...);
10 Y () { printf("Y() this: %x\n", this); }
11 ~Y () { printf("~Y() this: %x\n", this); }
18 printf("X() this: %x\n", this);
23 X (const Y & yy) { printf("X(const Y&) this: %x\n", this); ++num_x; }
24 X & operator = (const X & xx) {
25 printf("X.op=(X&) this: %x\n", this);
29 ~X () { printf("~X() this: %x\n", this); --num_x; }
32 int main (int, char **) {