This confuses me a little as I thought that the transfer operator was to be used only while calling the function or assignment something like this:
var foo = MyPet("a", 10)var bar = foo^ # this works as expectedexample_movable(bar^)
var foo = MyPet("a", 10)var bar = foo^ # this works as expectedexample_movable(bar^)
Now, what does it mean for the dunder methods to use ^ operator for assignment? Does it mean the same thing as mentioned above? I tried asking the bot for help as well, but it seems to think that this is an incorrect way of doing.