I am refactoring some very old legacy code which is full of bugs and very questionable practices, at least for modern standards. Now I ran across one line which I simply cannot decipher:
p
and k
are of type int *
return p??!??!k?p?*p:sizeof(*k):0;
When I saw it I could not believe my eyes - I know the ?
operator, but its syntax is bool ? trueresult : falseresult
and a ??
operator does neither make sense (lazy evaluation does really not apply here), not could I find a reference of that mysterious operator anywhere.
It would be really cool if someone shed some light on this matter.