|
I think Prof. O'Donnell was correct in using parentheses in midterm problem number 5 when he wrote:
(*B[i]).first I referenced my "On To C++" book by Patrick Henry Winston, 1995, and he mentions that the class-member operator has higher precedence than the dereference operator. If *B[i].first is used, then it is equivalent to saying: *(B[i].first)
|
to: