From the deleter of a derived class, as std::default_delete converts, so that a std::unique_ptr to a derived class converts to one to a base (which needs a virtual destructor).
Declared in <cptr/ptr.hpp>
template<class U>
requires std::is_convertible_v<U*, T*>
constexpr
deleter(deleter<U, Cage> const& other) noexcept;
| Name | Description |
|---|---|
| other | The object to copy construct from |