I'm reading that: http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/
// Example 3
Derived factory(); // construct a Derived object
void g() {
const Base& b = factory(); // calls Derived::Derived here
// … use b …
} // calls Derived::~Derived directly here — not Base::~Base + virtual dispatch!
and I understand first and second example, but I dont undetstand 3rd example. Particullary, what is lreference/rreference and what is 'virutal dispatch'. The example would be great.