Or if there is no direct equivalent, is there some kind of workaround?
Asked
Active
Viewed 499 times
1
-
1Does this answer your question? [How to enforce the 'override' keyword?](https://stackoverflow.com/questions/13223277/how-to-enforce-the-override-keyword) – phuclv Jan 06 '21 at 11:05
-
[make usage of the c++ override keyword mandatory?](https://stackoverflow.com/q/21063922/995714), [Add a warning if override keyword is not used in derived class](https://developercommunity.visualstudio.com/idea/396484/add-a-warning-if-override-keyword-is-not-used-in-d.html) – phuclv Jan 06 '21 at 11:08
-
sadly no, i read them previously, but they don't help. https://stackoverflow.com/questions/13223277/ this question is good, but the answers are for different problems. Since it's a 8 year old question i was hoping to get a solution for MSVC, since clang and GCC has gotten the right features since then. – Battlechicken Jan 06 '21 at 13:21
-
I suggest that you could submit this question to [Microsoft Developer Community](https://developercommunity.visualstudio.com/spaces/8/index.html). – Barrnet Chou Jan 07 '21 at 02:55
-
@BarrnetChou see my comment above, that has been posted to https://developercommunity.visualstudio.com/idea/396484/add-a-warning-if-override-keyword-is-not-used-in-d.html long time ago – phuclv Jan 07 '21 at 07:57