First
Previous
Next
Last
Index
Home
Text
Slide 25 of 38
Notes:
Rewriting the example again using arg::body_part_ptr<>, we can allow the copy constructor to be generated by the compiler (unlike auto_ptr body_part_ptr “does the right thing”.
We do need to provide swap() and assignment operations...