March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
int fun(T)(T x) {
return 42;
}
void main() {
static assert(&fun!int != &fun!double... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
How do we check at compile time whether the hash function resolves to the same... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
Sorry, I didn't understand that... which other overload? Excellent idea! I didn't think... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
[snip] Let's see what requirements need to be satisfied by []. Say k is a... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
That does not apply to your example with double and int. (I'd argue that... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
Because Andrei says that the .idup shouldn't be performed unless it's necessary (e... | |||
March 23, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
Why do you not just do the conversion and then compute the hash, even if... | |||
March 23, 2012 General » Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
...more advanced solution is to perform representation conversions (e.g., int -> double) first, and *then... | |||
March 21, 2012 Issues » [Issue 7493] Initialization of void[][N] | |||
|---|---|---|---|
| |||
...for implicit conversions first and to consider the element type for implicit conversions only after... | |||
March 19, 2012 Issues » [Issue 7366] IFTI fails to consider bounds-checked implicit conversions for non-deduced parameter types | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=7366 Don <clugdbug@yahoo.com.au... | |||
Copyright © 1999-2021 by the D Language Foundation