July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Is-a relationship between types means this type of thing:
class Human { }
class Baby : Human... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
The idea that situation with alias this and arrays is functionally different is simply defeacted... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
My implicit cast operator syntax is not redundant because it's not the same thing... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Your implicit syntax is redundant. What C++ does is irrelevant. D has alias this. import... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Let me clarify that arguably silly looking syntax. The @implicit opCast operator simply means that... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
Do you mean that if D had the C++ style implicit conversion operator (using let... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
...tied to any type and usual implicit conversions are applied. Style in which you are... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
No I didn't. Yes I understand this perfectly. No problem. This works exactly like... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
...a contradiction ("at the same time implicit conversions and type deduction"), dmd issues error. But... | |||
July 04, 2013 General » Re: Function templates do implicit conversions for their arguments | |||
|---|---|---|---|
| |||
...attempt combinatorially at the same time implicit conversions and type deduction is a dicey proposition... | |||
Copyright © 1999-2021 by the D Language Foundation