Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- join(scheme1, scheme2, tuple1, tuple2) // join t1 and t2 to make tuple t
- {
- copy tuple1 to t // t is the result to be returned
- for (name2, value2, in scheme2, tuple2) // int going through both vectors at the same time
- {
- if (name2 not found in scheme1) add value2 to t;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement