Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void f() {
- Vector v1(5000);
- Vector v2(5000);
- Vector v3(5000);
- //vectorlerin iclerini doldur
- v1=v2; //copy islemi gerceklesir
- v3=std::move(v2); //move islemi gerceklesir
- v2=v1+v3; //v1 ve v3 elemanlarini toplar. Donulen Vector, v2'ye tasinir.
- }
Add Comment
Please, Sign In to add comment