I have a method with the last arguments having defaults like this
void filing(long, double,
const myType& r_mo=NULL,
const herType& r_tr=NULL);
is that acceptable, if not how is it done?
when I do the above, I get errors like
file.h:19: error: default argument for parameter of type ‘const myType&’ has type ‘int’
file.h:20: error: default argument for parameter of type ‘const herType&’ has type ‘int’
Comment