This isn't excactly c++, so I posted it in general?
Can any tell me what this error code from mingw c++ means?
default argument given for parameter 7 of `
Mapper<Type>::Mapper(long unsigned int, long unsigned int, long double, long
double, long double, long double, bool (*)(const Type*, RGBQUAD*, long
unsigned int) = defConversion<Type>)'
after previous specification in `
Mapper<Type>::Mapper(long unsigned int, long unsigned int, long double, long
double, long double, long double, bool (*)(const Type*, RGBQUAD*, long
unsigned int) = defConversion<Type>)'
Ps. 'Type' is a template parameter
the 7th parameter is a function pointer and I have typed the same spellings both in the prototype and defeniton.
The default parameter is a func:template taking 'Type' of the template instance.
When I remove the def param in declaration The error goes away.
The help I need is why I can't give def param in both places
If my question is unclear, i'll post the whole code.