C++ puzzle, continued
Although C++ is designed to make it hard to call a pure virtual function, there is a way to do it.
The puzzle:
Find a way to call X::foo as defined
Try it and see what happens
Previous slide
Back to first slide
View graphic version