Y
Hacker News
new
|
ask
|
show
|
jobs
by
codeflo
1936 days ago
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.
1 comments
xKingfisher
1936 days ago
And explicit constructors won't save you from this one.
link