Move function for a memory model based class

In reply to Madineni:

Somebody just asked a similar question yesterday. I showed them how to do this for a general class. I don’t know what you mean by a “memory model class” that would be any different.