I was reading through some C++ code, and I noticed if(;;).
I've tried to Google it and even search on here, but it seems to ignore the brackets in searches. Obviously I know what an if statement is, but what do the ;; mean inside the brackets?
EDIT: nevermind, as NardCake said, it was actually for(;;). Was tired and saw it last night and totally forgot. My bad.
I've never seen it before the only thing I've seen similar to that is for(;;) which is essentially an infinite loop, so my best guess is it's an always true if statement for some reason? Have you tested it to see what it does?