(int) (vector.size()) VS (vector.size())

Revision en1, by -0.69, 2023-03-24 15:09:22

I recently faced an issue due the fact that I didn't placed an 'int' before the looping for a vector that was constructed. It works without (int) sometimes but this time It gave warnings. Can someone explain this behavior. Thankyou.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English -0.69 2023-03-24 15:09:22 273 Initial revision (published)