Re:How to Emulate the “super” Keyword in C++
by slokki on Tuesday December 26, 2017 @05:29PM
(#16011453)
Didn't quite get this. Where is the emulation of super itself?
Expected something like auto super = static_cast<base_type*>(this)...
[ Parent
| on HN ]
Re:How to Emulate the “super” Keyword in C++
by richardwhiuk on Tuesday December 26, 2017 @06:28PM
(#16011716)
base_type::draw()
analogous to Java's super.draw()