O'Reilly logo
  • Roberto Orsini thinks this is interesting:

A virtual function in a derived class can return a reference (or pointer) to a class that is publicly derived from the type returned by the base-class function.

From

Cover of C++ Primer, Fourth Edition

Note

covariance