Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
14.3 and do-while within logical-and operator
#4
I agree - it's compliant by virtue of exception 2 isn't it? I can't see how it's any different from this example given under Rule 14.3:

Code:
do {
  /* Compliant by exception 2 */
} while ( 0u == 1u );
<t></t>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)