An ordering that works
Declaration of ExprBase (which implicitly declares Expr as a class by naming it as a friend)
Declaration of Expr (which uses ExprBase as the type of p)
Declarations of the derived classes
Member function definitions
Previous slide
Next slide
Back to first slide
View graphic version