We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c44013 commit 3c63f13Copy full SHA for 3c63f13
exercises/smartPointers/problem3.cpp
@@ -12,7 +12,7 @@
12
*
13
* Most of the time, ownership can be solved by having one owner (with `std::unique_ptr`) and
14
* one or more observers (raw pointers or references). Sometimes, we need to truly share data,
15
- * though. Here is an example of a completely messed up ownership model.
+ * though. Here is an example of a completely messed up ownership model, which could be fixed using shared_ptr.
16
17
* Tasks
18
* 1) Verify the mess by repeatedly running it using such a command like:
0 commit comments