move object from heap to stack

Namespace rswhite4 at googlemail.com
Thu Sep 20 05:33:04 PDT 2012


So I should disable the copy ctor (@disable this(this)) and drop 
move, right?
As you can See if I pass a OnStack to function/class i'm using 
.get all the Time. The only other method IMO would be to pass it 
as OnStack by value and Store it in the other class also as 
OnStack, right?

@bearophiole: just to Know if something lile this is possible.


More information about the Digitalmars-d-learn mailing list