
9 Mar
2004
9 Mar
'04
7:52 p.m.
"Powell, Gary" <powellg@amazon.com> wrote
Shouldn't the comparison functions allow the types to differ?
circular_buffer<T, MyAlloc> x; circular_buffer<S, YourAlloc> y;
bool b = x == y; for where the operator T == S is valid? And what does the allocator have to do with it?
Hmm, do you know a STL implementation/some container with this feature? It may be often bug to compare containers with different types. /Pavel