Unique_ptr -Syntax

 unique_ptr<A> ptr1 (new A);
// Error: can't copy unique_ptr
 unique_ptr<A> ptr2 = ptr1; 
 // Works, resource now stored in ptr2
unique_ptr<A> ptr2 = move(ptr1); 
Dull Dormouse