Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
im3w1l
· 12y ago · 0 comments
Nice trick. One thing bothers me, couldn't the compiler use operator float and the construct from float for non-matching units?
Comments
[–]
coyotebush
12y ago
I believe using those together counts as two user-defined conversions and is rejected. But one or both of those might as well be declared explicit.