Advertisement
Guest User

Untitled

a guest
Jun 27th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. main() {
  2. Arena1 := Standard.Memory.Arena();
  3. v1 := Standard.Containers.Vector(int, Standard.Memory.ArenaAllocator)(alloc := arena1);
  4. {
  5. Arena2 := Standard.Memory.Arena();
  6. v2 = Standard.Containers.Vector(int, Standard.Memory.ArenaAllocator)(alloc := arena2);
  7. // fill v2 here
  8. v1 = v2;
  9. }
  10. // now what?
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement