82. Smart Pointers-I

Question.2

A developer tries to copy a unique_ptr:

auto uart = std::make_unique<UART_Driver>(9600);
auto uart2 = uart;  // Copy

Will this compile?

Need Help? Refer to the Quick Guide below

Select Answer