Unix AIX V5.0 C++ Compiler Error - Something about parameter passing
"The constructor initializer is unexpected. All bases and members have been initialized."
Code is
Code:
template <class TYPE>
ChainHash<TYPE>::ChainHash(int max):Hash(max,max){
h_size = 0;
C_Table = new CList<TYPE>[cap()];
}
This works just beautiful when compiling under Visual Studio 2005 in a console project.
It doesnt like the base parameter passing, is there another way to fix this? I was always taught to use pass to the base through the constructor definition there.
Edit: It's an AIX compiler and not borland.