The move constructor is the only way this could work, yes.
That said, there isn't much reason the type couldn't have a copy constructor: it's holding a reference counted object after all.
« Back to merge proposal
The move constructor is the only way this could work, yes.
That said, there isn't much reason the type couldn't have a copy constructor: it's holding a reference counted object after all.