I have noticed that the vector indexing suite only compiles for a vector<foo> if foo has an == operator. Some of the objects that I need to wrap in a library have to wrap have no == operator. That's fine, I just create a dummy operator as a global function. The dummy operator just tests &a==&b. <br>
<br>Now I come to a problem. the 'bar' class has a == operator, but it is declared private. I tried to create a global == operator but the compiler complained that it was ambiguous (the compiler is such a whiny little brat.) <br>
<br>So my questions are 3 fold,<br>Why the heck does vector_indexing_suite need an == operator?<br>Assuming I can't change the problem class, what are possible workarounds?<br>Does vector_indexing_suite2 still need an == operator?<br>
<br>