Like any RAII type (just think of std::unique_ptr for an example), the two types you worked on in Exercise 18-3 could surely benefit from move members. Modify the solution of the exercise accordingly, including a few extra lines in the main() function, to prove that your solution works. Is what you did earlier in Exercise 18-3 still needed now? Also, Exercise 16-6 used a Customer class. Does this type perhaps need move members as well?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here