So the root cause is from statement,
this -> pf = input.pf;
where since input is const, pf is const, but assignment operator of auto_ptr only accepts non-const?
regards,
George
So the root cause is from statement,
this -> pf = input.pf;
where since input is const, pf is const, but assignment operator of auto_ptr only accepts non-const?
regards,
George