I'm refactoring someone else's code and I keep coming across instances of these:
The code as it is compiles and works, but the double parentheses are an eyesore, and I'd like to clean them up as:Code:someClass** sc; *sc = pointer to something somewhere else; ... (*((*sc))).someMember; //note the double parentheses
Would I be breaking anything here by doing this?Code:(*sc)->someMember;