void test(Slab const & s) { // Create a copy of the object that s refers to // // Print the information about the copy. With objects constructed according to the // comments in main, the printout should be: // Concrete: Gray, 25x12x4, 2.8kg // Rock: Granite, Nature, 12x15x10, 10.5kg // Brick: Red, 25x10x10, 3.2kg // Concrete: Graphite, 20x20x6, 3.9kg, tumbled // // Destroy the copy } int main() { // Create the following objects dynamically and store in some kind of container: // Type Color Size Weight type/tumbled // -------------------------------------------------- // Concrete Gray 25x12x4 2.8 // Rock 12x15x10 10.5 Granite // Brick Red 25x10x10 3.2 // Concrete Graphite 20x20x6 3.9 true // pass each object to test. return 0; }