Guest User

Untitled

a guest
Jul 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. void f() {
  2. Vector v1(5000);
  3. Vector v2(5000);
  4. Vector v3(5000);
  5.  
  6. //vectorlerin iclerini doldur
  7. v1=v2; //copy islemi gerceklesir
  8. v3=std::move(v2); //move islemi gerceklesir
  9.  
  10. v2=v1+v3; //v1 ve v3 elemanlarini toplar. Donulen Vector, v2'ye tasinir.
  11. }
Add Comment
Please, Sign In to add comment