Homework: The "Big Five" |
< Previous Next > |
Family copyCatFamily( happyFamily ); Printing happyFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son Printing copyCatFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son jonesFamily = happyFamily; Printing happyFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son Printing jonesFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son Family changFamily( std::move( happyFamily)); Printing happyFamily... Printing changFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son smithFamily = std::move( copyCatFamily); Printing copyCatFamily... Printing smithFamily... Family member index 0: Mom Family member index 1: Dad Family member index 2: Daughter Family member index 3: Son
Points Item ---------- -------------------------------------------------------------- _____ / 1 Default constructor _____ / 2 Big Five #1 _____ / 2 Big Five #2 _____ / 2 Big Five #3 _____ / 2 Big Five #4 _____ / 2 Big Five #5 _____ / 11 Total
Last Modified: