Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
david-given
· 9y ago · 0 comments
But why is that bad?
Comments
[–]
lmitchell
9y ago
Because `i` isn't an int, it's an initializer_list, and you almost never want to actually create an initializer_list instead of an int? Seems pretty understandable to me.
[–]
thecpphorse
9y ago
It's unexpected. Nobody ever* wanted to assign an initializer list to a named variable.
[*] pretty much