Megosztás a következőn keresztül:


unique_ptr::get_deleter

Returns a reference to stored_deleter.

Del& get_deleter();
const Del& get_deleter() const;

Property Value/Return Value

Returns a reference to stored_deleter.

Remarks

The member function returns a reference to stored_deleter.

Requirements

Header: <memory>

Namespace: std

See Also

Reference

unique_ptr Class

<memory>