Affected rules
Description
Qlx is riddled with examples of function calls that are for some reason flagged as invalid pointer conversions.
It seems like maybe the common thread is that this occurs in templates when they call functions that don't depend on the template?
Example
This might be the type of thing that triggers it? It's unclear.
template <typename T>
class C {
void use_t() {
(T*) null;
dont_use_t(); // here?
}
void dont_use_t() {
return;
}
Affected rules
RULE-7-11-3Description
Qlx is riddled with examples of function calls that are for some reason flagged as invalid pointer conversions.
It seems like maybe the common thread is that this occurs in templates when they call functions that don't depend on the template?
Example
This might be the type of thing that triggers it? It's unclear.