Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codeflo
· 5y ago · 0 comments
That’s one of my favorites as well. The fact that C++ will so happily auto-convert almost anything into an integer makes it even more likely to hit this accidentally.
Comments
[–]
xKingfisher
5y ago
And explicit constructors won't save you from this one.