Good day! Little question about smart pointers. In general I have pointer to BYTE array and I want to use std::shared_ptr
instead of plain pointer. Here my pointer example
shared_ptr<BYTE> pointer(new BYTE[100]);
LPBYTE *old_pointer = pointer;
Of course this is invalid example but how I can assign my smartpointer to other general pointer?