This code comes from test_concurrent_vector.cpp (tbb40_20111130):
template void TestVectorTypes() { tbb::concurrent_vector v; for( int i=0; i<100; ++i ) { // VC8 does not properly align a temporary value; to work around, use explicit variable ClassWithVectorType foo(i); v.push_back(foo); for( int j=0; i ClassWithVectorType bar(j); ASSERT( v[j]==bar, NULL ); } } } Is the self-comparison (i
It is here at least since vers tbb30_20100406.
I found it because it throws a warning when compiling with clang.




