From the archive
Thursday, 19 November
Folded from 36 sources that day.
Sorted by quality and by how many sources covered it, the same for everyone.
-
On Forcing All Derived Classes to Implement a Specific Non-Virtual Method, Part 1
Shows how to require derived classes to implement a method by leaving it unimplemented in the base class. Examples in C++/WRL, C++/WinRT and plain C++ make missing implementations fail at compile time.