Programming Challenge 1


Description

Create a simple program to demonstrate the effectiveness/efficiency of move semantics compared with copying. Use an example of a simple class that stores a string. Provide construction by const-reference, by rvalue-reference, and by value. Experimentally show the cost of these three different versions as the size of the string grows.

Details


General Instructions, Turning in assignments, and Grading

General Instructions

Turn in Instructions

Each assignment will be turned in through GitHub classroom. Please find the link to create a repository at the top of this page, or through this link. Assignments are due BEFORE, let me repeat, before class starts. This does not mean five minutes after class starts.

Points