4 ms·
you can't have a virtual static function. Either, but not both. The rest though are all basic c++
by hnriot 13y ago
you can't have a virtual static function. Either, but not both. The rest though are all basic c++
- edraferi 13y agoWelp, that's terrifying.
- rcxdude 13y agoYou can however have a static function pointer to a virtual function (although it wouldn't be a template, it could be part of a template). They do in fact work like virtual functions still. So that particular thing could exist, and be useful, and probably does exist somewhere in boost.