A problem with GenLinearHierarchy from Alexandrescu's design
Hi,
I am studying Andrei Alexandrescu's Modern C++ Design book and cannot access the OnEvent(Button&, int) implementation of:
1 2
|
using linear = Loki::GenLinearHierarchy<TYPELIST_3(Window, Button, Scrollbar), EventHandler >;
linear lin;
| |
I can access for Window like this:
1 2
|
Window win;
lin.OnEvent(win, 55);
| |
but the other virtual functions generated in the hierarchy are not available...
Why? How can I access them?
Regards
Topic archived. No new replies allowed.