Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
6-5-2 and 6-5-4 on while loop checking std::vector::empty()
#3
Hi,

I have indeed read through the whole forum about this and I'm well aware that the rules apply to "while" loops as well.

But my question is: is the above code using a "loop counter" at all? If the answer is "no", then none of the rules related to loop counters apply. Would you agree?
Thanks!
Reply


Messages In This Thread
RE: 6-5-2 and 6-5-4 on while loop checking std::vector::empty() - by cgpzs - 12-11-2021, 01:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)