July 12, 2013 Announce » Re: Article series about patterns & idioms in D | |||
|---|---|---|---|
| |||
...following sentence: "D strives to prevent implicit conversions between user defined types at all costs... | |||
July 12, 2013 Announce » Re: Article series about patterns & idioms in D | |||
|---|---|---|---|
| |||
I did talk about implict conversions between user defined types. D does not have implict... | |||
July 12, 2013 Announce » Re: Article series about patterns & idioms in D | |||
|---|---|---|---|
| |||
...is true. Implicit conversions are very useful. What D prevents are implicit conversions that can... | |||
July 08, 2013 General » Re: Unhelpful error messages | |||
|---|---|---|---|
| |||
...was that toImpl doesn't support struct conversions. But by rejecting all non-compiling types... | |||
July 05, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Of course implicit conversion influences type deduction. If it didn't, if implicit conversion didn... | |||
July 05, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Issue in this case is not that it happens per se (of course, it does... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Well, it doesn't really matter how it is implemented. What matters is that the... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
And this is a problem, because many of such naive judgemnets are actually false. Implementation... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Although, that's not exactly true. C++ accepts an inexact match when the instantiated parameter... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
That was supposed to be:
struct DynamicArray(T)
{
void opOpAssign(string op : "~")(T value) { }
} | |||
Copyright © 1999-2021 by the D Language Foundation