Lines Matching refs:MovePtr
66 MovePtr<Object> createObject (bool& exists)
126 // MovePtr -> MovePtr moving
129 MovePtr<Object> ptr(new Object(exists));
132 MovePtr<Object> ptr2 = ptr;
139 // UniquePtr -> MovePtr moving
145 MovePtr<Object> ptr2 = ptr.move();
152 // MovePtr -> UniquePtr moving
162 // MovePtr assignment
166 MovePtr<Object> ptr1(new Object(exists1));
167 MovePtr<Object> ptr2(new Object(exists2));
173 // MovePtr stealing
178 MovePtr<Object> ptr1(new Object(exists));
189 // Null MovePtr and assigning to it.
193 MovePtr<Object> ptr1;
195 MovePtr<Object> ptr2(new Object(exists));