Wait - does Microsoft Visual C++ choke on "for(some_struct X = {0}; X.thing; ++X.thing)" syntax? How have I not noticed this before?
@cmuratori Aren't you allowed to use an initializer expression in a for loop? I am confused. Time to go read the impenetrable spec.
-
-
@cmuratori GCC allows it. Perhaps testing overlooked this, with decl-in-for being a C++ feature and struct inits being more of a C thing. -
@taradinoc It's poopsauce is what it is. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.