Pimpl class Impl is stored in raw pointers which are allocated on the heap in the constructor. However, the constructor can throw an exception resulting in a memory leak as the destructor is **not** invoked. => A smart pointer is however properly deallocated. |
||
|---|---|---|
| .. | ||
| exiv2 | ||