CodexBloom - AI-Powered Q&A Platform

C++ - Issues with std::unique_ptr and custom deleter not releasing memory properly

👀 Views: 1 💬 Answers: 1 📅 Created: 2025-05-31
memory-management unique-ptr custom-deleter

I'm facing a memory management issue while using `std::unique_ptr` with a custom deleter in my C++ project. I have a class `Resource` that manages a dynamic arr...