Opened 11 years ago

Closed 9 years ago

#5575 closed Feature Requests (wontfix)

Add support for custom deleter to scoped_ptr

Reported by: Daniel Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc:

Description

I would like to use custom deleter with scoped_ptr, like with shared_ptr. Unfortunately this class does not support it. Please add this.

Change History (1)

comment:1 by Peter Dimov, 9 years ago

Resolution: wontfix
Status: newclosed

The recommended alternative for scoped_ptr when a deleter is required is now std::unique_ptr.

Note: See TracTickets for help on using tickets.