Thank you, I had no idea that scope was doing this. I thought that when the docs said that it was being allocated on the stack that I was getting "struct" like behavior.
"Simen kjaeraas" <[email protected]> wrote in message news:[email protected]... | Larry Luther <[email protected]> wrote: | | > | > scope B | > alpha = new B; | > | | 'scope B alpha;' allocates stack space for a reference to a B, and | space for an instance of B. If the pointer changes, it is simply no longer | referencing the instance on the stack. | | -- | Simen
