Confusions about comparator_ooo_imps

In reply to chr_sue:

Hi chr_sue,

Thanks for your reply.

My questions is on this line,
idx = txn_data.index_id();
Since txn_data has the default type of int, why an int type variable has a member method “index_id()”?

Thanks

Hao