Skip to content

Comment on Essays from the funniest man in Microsoft Researchparent

Comments

you can't have a virtual static function. Either, but not both. The rest though are all basic c++

You 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.

Welp, that's terrifying.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.