Advertisement
Guest User

Untitled

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