How do I deal with “signed/unsigned mismatch” warnings (C4018)?
I work with a lot of calculation code written in c++ with high-performance and low memory overhead in mind. It uses STL containers (mostly std::vector) a lot, and iterates over that containers almost in every single function. The iterating code looks like this: But it produces the signed/unsigned mismatch warning (C4018 in Visual Studio). Replacing … Read more