mirror of
https://github.com/boostorg/functional.git
synced 2026-01-25 16:32:29 +01:00
If an exception is thrown in the constructor of a smart pointer, then the smart pointer should handle deallocating the memory. If this was inside the try block, then the catch block would deallocate the memory a second time.