g++ -g -W -Wall -ansi -pedantic -c -o main.o main.cpp
In file included from main.cpp:17:
DictAsMap.h:86: error: invalid use of incomplete type ‘class DictAsMap<int, ValueType>’
DictAsMap.h:14: error: declaration of ‘class DictAsMap<int, ValueType>’
i can't remove the inheritance hierarchy, because the class dictionary have to be an abstract class. so it's necessary to mark the functions as virtual.
I like to creat two search funktions one for int keys and one for string keys.
what can i do??