Chapter Contents

Previous

Next
513

513



ERROR: Overriding virtual function `function-name' has different return type.


Explanation


Explanation

An overriding virtual function cannot change the return type unless the new return type is a covariant class pointer or class reference. See section 10.3 in the C++ standard for more details.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2004 by SAS Institute Inc., Cary, NC, USA. All rights reserved.