[Cs3] moveIntArray.cpp error
Mikhail Nesterenko
mnestere at kent.edu
Tue Sep 10 23:28:46 EDT 2024
>
> MoveableInt rhs assigment operator needs to deallocate the left hand side.
>
This is about this example that we discussed during the lecture. The
move-assignment implementation needed needed self-assignment
protection and left-hand-side deallocation.
http://www.cs.kent.edu/~mikhail/classes/cs3/Examples/STLContainersSequential/Vectors/moveIntArray.cpp
Thanks,
--
Mikhail
More information about the cs3
mailing list