Closed arjo129 closed 1 month ago
you do NOT need to remove const to add move semantic.
You can just copy the fields, instead of moving them
I think the issue is with move assignment. Not the move constructor. I could use const_cast
if you would like but I'm not a fan of it.
This PR adds a move constructor. It is not ideal as I needed to modify the
const
ness of some member variables. I think having a move constructor would actually be good for usability of the library. Closes #26.