Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Standard;
- using Memory;
- using Containers;
- main() {
- Arena1 := Arena();
- v1 := Vector(int, ArenaAllocator)(alloc := arena1);
- {
- Arena2 := Arena();
- v2 = Vector(int, ArenaAllocator)(alloc := arena2);
- // fill v2 here
- v1 = v2;
- }
- // now what?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement