This rule is Obsolete | |
Synopsis: | Use a parameter of pointer type if the function stores the address or passes it to a function that does |
Language: | C++ |
Severity Level: | 9 |
Category: | Class Interface |
Description: |
A pointer is also required if the parameter can refer to no object, i.e. have the value nullptr. A reference cannot model this, because it is always linked to the same object with which it was initialized. |