C++ question here:
Please explain in detail 3 different methods of passing smartpointer stu below to a function. Please explainthe differences.
unique_ptr<Student> stu{make_unique<Student>(“Mickey”)};
Expert Answer
An answer will be send to you shortly. . . . .