Inconsistent Behavior with Custom Deleters in std::unique_ptr for Array Types
👀 Views: 1
💬 Answers: 1
📅 Created: 2025-06-11
c++ memory-management smart-pointers
I am encountering an issue while using `std::unique_ptr` with a custom deleter for dynamically allocated arrays in C++. The intention is to manage an array of o...