Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void IncrementArray() { /* This Function Takes The Array Used To Store The Map And Treats It Like A Vector ->
- Doubling The Amount Of Allocated Spaces Aviliable And Coping The Old Array Over */
- // Doubling Size
- Map_Values<K, V>** Temp; // Create An New Array
- Temp = new Map_Values<K, V>*[_Size*2]; // Allocate The Size To It.
- for (int i = 0; i <= _Current; i++)
- {
- Temp[i] = _Maps[i];
- }
- _Maps = Temp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement