You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-quality/c26444.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ An unnamed variable declaration will create a temporary object that is discarded
18
18
## Remarks
19
19
20
20
- This rule detects types with a hand-written destructor or a compiler-generated destructor that transitively calls a hand-written destructor.
21
+
- This rule can flag code that invokes a nontrivial constructor of a RAII type.
21
22
- The logic skips temporaries if they're used in higher-level expressions. One example is temporaries that are passed as arguments or used to invoke a function.
0 commit comments