Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] Is there any interest in unique_ptr with type erased deleter?
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2017-03-21 14:42:42


> I think that problem can be solved by make_poly_unique or a conversion
> helper function. Hardly a whole new smart-pointer is an adequate solution.

+1. Writing a make_poly_unique() and maybe a make_poly_unique_from() would
easily address this.

Glen

--
View this message in context: http://boost.2283326.n4.nabble.com/smart-ptr-Is-there-any-interest-in-unique-ptr-with-type-erased-deleter-tp4692685p4692709.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk