I ran across the following lines of C++ code in a file (non-contiguous lines) that gcc 4.2.1 won’t accept:
int frame = blk <? mBlkCnt-1;
mInsCnt = blk <? mBlkCnt;
mInsCnt = mInsCnt+1 <? mBlkCnt;
const int to_read = (mFileSz-byte_off) <? mBlkSz;
Both <? and >? are used in various places in the code. They appear to be a shorthand for assigning the smaller (or larger) of two values, but I’ve never seen this operator combination. Any ideas on what this is?
They’re called the min and max operators and were language extensions in earlier versions of gcc.
They are no longer supported.