@f4grx @b0rk Nope, sorry, nearly everything about that is off modern C++ spec.

`for (size_t i{0}; i < 10; ++i)` or nobody 'round these parts will sign off on your PR.

@mtomczak @f4grx @b0rk In that kind of loop, is there any benefit to brace initialization of a scalar variable, or preincrement rather than postincrememt? Or are those preferred for some broad reason?

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.