4 ms·
The minor problem is that a typedef pointer breaks this pattern: typedef foo * FooP; FooP a, b; // Both are pointers Pointer typedefs are misguided but th
by kevin_thibedeau 2y ago
The minor problem is that a typedef pointer breaks this pattern:
typedef foo * FooP;
FooP a, b; // Both are pointers
Pointer typedefs are misguided but there is no denying that C is inconsistent on whether the '*' is part of the type or not.