Paul Jansen

Results 6 issues of Paul Jansen

We have implemented an automatic check for the current enforcement of rule F.16: - (Simple) ((Foundation)) Warn when a parameter being passed by value has a size greater than 2...

The synopsis of rule F.20 is "For “out” output values, prefer return values to output parameters". The last enforcement suggestion in this rule is: "Flag returning a const value. To...

Rule F.18 is about "For “will-move-from” parameters, pass by X&& and std::move the parameter". There are 3 enforcements defined for this rule: 1. Flag all X&& parameters (where X is...

Rule F.17 (For “in-out” parameters, pass by reference to non-const) and Con.3 (By default, pass pointers and references to consts) have both two enforcement rules of which one of them...

The synopsis of rule F.54 is "When writing a lambda that captures this or any class data member, don’t use [=] default capture". Note that [&] is not mentioned. The...

Rule C.36 states "A destructor must not fail" and rule C.37 states "Make destructors noexcept". There are a couple of reasons to combine these 2 rules: - Both rules are...