| ▲ | smallstepforman an hour ago | |
The unique_ptr destructor is called on scope exit, and there are times you want this earlier before other critical code. | ||
| ▲ | jmalicki 23 minutes ago | parent | next [-] | |
That's why you can define your own scope to control that. | ||
| ▲ | bluGill 29 minutes ago | parent | prev [-] | |
[dead] | ||