Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kelnos
· 13y ago · 0 comments
I see this as no different than being able to do
for (int i = 0; i < len; ++i) { }
Comments
[–]
axusgrad
13y ago
Imagine my surprise, getting out of college and trying to use this at my job, when the compiler told me it was invalid! It wasn't obscure to me, but apparently was to the Sun Studio C++ compiler.
[–]
wiml
13y ago
It was added in C99, I think.
[–]
shrughes
13y ago
It was added in C++ before that.