I have noticed that the vector indexing suite only compiles for a vector&lt;foo&gt; if foo has an == operator. Some of the objects that I need to wrap in a library have to wrap have no == operator. That&#39;s fine, I just create a dummy operator as a global function. The dummy operator just tests &amp;a==&amp;b. <br>
<br>Now I come to a problem. the &#39;bar&#39; 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.)&nbsp; <br>
<br>So my questions are 3 fold,<br>Why the heck does&nbsp; vector_indexing_suite need an == operator?<br>Assuming I can&#39;t change the problem class, what are possible workarounds?<br>Does vector_indexing_suite2 still need an == operator?<br>
&nbsp;<br>