Is it possible to trigger compiler warning when a class breaks rule-of-three (or rule-of-five)?
This feature sounds easy to implement and is very useful in safety critical software but I can't find it anywhere in documentation or Google search results.
You can use the compiler flag -Weffc++ for GCC
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With