B.4 -5 Points Please code in 2 different ways to convert a unique_ptr owning a Name object to a shared ptr which owns the same object. Then explain which way the best way is. Show transcribed image text B.4 -5 Points Please code in 2 different ways to convert a unique_ptr owning a Name object to a shared ptr which owns the same object. Then explain which way the best way is.
Answer
OR
OR