cpp hacks
Copying: CC BY-SA 3.0
§
OBJECT ORIENTED me.getFucked()
§§ type alias with templates:
§§ override parent methods
§§ delete a (virtual) function from derived class
https://stackoverflow.com/questions/24609872/delete-virtual-function-from-a-derived-class
If the method is called however, the struct is defined and its value is false, so the
static_assert
fails. If the method is not called, but you try to call it on a pointer of the super class, then Ds method is not defined and you get anundefined reference
compilation error.