"Arnd Hanses" <[EMAIL PROTECTED]> writes:

| {
|       [VIP]
|       FOO foo;
|       FOO * p = foo;
|       VIPfunc(p)
|       [VIP]
| }

We should never to a thing like that. What we could/should do is:

VIPFunc(FOO & r) {
 // use r
}

{ 
        [VIP]
        FOO foo;
        VIPFunc(foo);
        [VIP]
}

Making a pointer out of local variables or references are error prone.

        Lgb

Reply via email to