...
This compliant solution uses std::unique_ptr
to create objects that clean up after themselves should anything go wrong in the C::C()
constructor (see MSC17-CPP. Do not use deprecated or obsolescent functionality for more information on std::unique_ptr
). The std::unique_ptr
applies the principles of RAII to pointers.
Page properties | ||
---|---|---|
| ||
NOTE: A void guideline is used in preceding paragraph; needs to be updated or removed. |
...