There are superfluous parentheses in https://root.cern/doc/master/classTList.html
while ((TObject *obj = next()))
There are superfluous parentheses in https://root.cern/doc/master/classTList.html
while ((TObject *obj = next()))
I don’t think so. There is 3 opening parenthesis and 3 closing parenthesis.
I think what @Viesturs means is that the external pair of parentheses may be omitted:
while (TObject *obj = next())
Ah yes, sure… I will fix
Fixed. It will appear tomorrow in the online ref guide.
Thanks.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.