mirror of
https://github.com/boostorg/functional.git
synced 2026-01-26 08:52:27 +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.