Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dictionary: made class a proper base class
changed clear, add, remove and string to 'virtual' functions changed return value of add function from index to index/entry type pair - removed optional return new entry pointer argument (now returned) - updated encode function to get first or pair return value (index) - also removed dereference operator on back inserter (not necessary) changed return value of remove function from int to bool - added return value to info dictionary (to match base class) added 'override' to info dictionary clear, add and remove functions made correction to dictionary clear function for gcc 4.9.2
- Loading branch information
1 parent
66a0db8
commit c3f9335
Showing
3 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters