October 24, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...be any other than to have a compiler option for warning you of implicit conversions. | |||
October 22, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...time option ( -Wconversion) to warn of implicit conversions. I cannot see such an option in... | |||
October 22, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...explains. One unpleasant related gotcha is implicit conversions across signedness and comparison of integral types... | |||
October 22, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...for statically typed languages. I find implicit conversions to be the most common gotchas I... | |||
October 22, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...why C++ compilers will warn you about conversions that can be lossy. A lot of... | |||
October 22, 2017 General » Re: So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...Know what the language spec says about conversions (and their order):
- https://dlang.org/spec... | |||
October 21, 2017 General » So why double to float conversion is implicit ? | |||
|---|---|---|---|
| |||
...s the argument against this? Why type conversions differ between integral and floating types? Why... | |||
October 20, 2017 Issues » [Issue 17921] New: allow to use `alias function this` to be used for implicit conversions | |||
|---|---|---|---|
| |||
...function this` to be used for
implicit conversions
Product: D
Version: D2
Hardware: All
OS... | |||
October 20, 2017 General » Re: My two cents | |||
|---|---|---|---|
| |||
...flexible (it can do things like type conversions too) and I'd choose a function... | |||
October 13, 2017 Learn » Re: Is there an opposite of .toString()? | |||
|---|---|---|---|
| |||
The function to use for conversions in general is std.conv.to. And really, there... | |||
Copyright © 1999-2021 by the D Language Foundation