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" <simen.kja...@gmail.com> wrote in message news:op.vc0qlpjovxi...@biotronic-pc.home... | Larry Luther <larry.lut...@dolby.com> 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