Chapter 29. Is It Initialization?
Difficulty: 3
Most people know the famous quote: “What if they gave a war and no one came?” This time, we consider the question: “What if we initialized an object and nothing happened?” As Scarlett might say in such a situation: “This isn't right, I do declare!”
Assume that the relevant standard headers are included and that the appropriate using-declarations are made.
Get Exceptional C++ Style 40 New Engineering Puzzles, Programming Problems, and Solutions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.