I found myself with code similar to this:
struct base {
virtual void cb() = 0;
};
struct deriv final : public base {
void cb() final override { }
};
The question is about the second use of 'final'. Because the entire
class is declared final, should the individual function's annotation be
flagged with a warning? I personally think it should because it might
distract from the final of the class itself.
signature.asc
Description: OpenPGP digital signature
