Requirement:
1, The smart integer array allocates memory on the heap, and release(delete[]) the memory in the destructor.
2, Implement correct behavior on Copying and assignment.
3, Implement efficient Move operations (move constructor and move assignment operator)
4, Implement the [] operator(subscript operator) so we can access elements using [].
ask me if you got stuck.
Class Recording:
JT
1, The smart integer array allocates memory on the heap, and release(delete[]) the memory in the destructor.
2, Implement correct behavior on Copying and assignment.
3, Implement efficient Move operations (move constructor and move assignment operator)
4, Implement the [] operator(subscript operator) so we can access elements using [].
ask me if you got stuck.
Class Recording:
JT
Comment