Warning, /sdk/clazy/docs/checks/README-rule-of-two-soft.md is written in an unsupported language. File is not indexed.

0001 # rule-of-two-soft
0002 
0003 Finds places where:
0004 1. You're calling a trivial copy-ctor of a class which has a non-trivial copy-assignment operator
0005 2. You're calling a trivial copy-assignment operator of a class which has a non-trivial copy-ctor
0006 
0007 It won't warn on classes that violate the rule of two unless you actually use the copy-ctor or the copy-assignment operator, otherwise it will generate lots of warnings. If you're really interested in all warnings, see the *rule-of-three* check instead of *rule-of-two-soft*.
0008 
0009 Beware that removing copy-ctors or copy-assignment operators might make the class trivially copiable, which is not ABI compatible.