4 ms·
I'd prefer an error for this over instructions about it. Though one interesting use for this, you could use this behavior to encode which class the caller uses
by seeknotfind 3y ago
I'd prefer an error for this over instructions about it.
Though one interesting use for this, you could use this behavior to encode which class the caller uses to call your inheritable method, but it's already sounding pretty gross.
- wyldfire 3y ago> I'd prefer an error Your best bet is to use `-Weffc++ -Werror` then. I'm not certain it's checked but I'd bet it is.
- mannykannot 3y agoGross indeed - your application is the sort of thing footguns are made of. For every bad idea, there's someone who thinks they have a scenario where it will help.