✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Чи компілюється код поданий нижче:
#include <memory>class Klass {};int main(){ std::unique_ptr<Klass> ptr1 = std::make_unique<Klass>(); std::unique_ptr<Klass> ptr2 = ptr1; return 0;}