Search

March 23, 2012
General »
int fun(T)(T x) {
    return 42;
}

void main() {
    static assert(&fun!int != &fun!double...
March 23, 2012
General »
How do we check at compile time whether the hash function resolves to the same...
March 23, 2012
General »
Sorry, I didn't understand that... which other overload?


Excellent idea! I didn't think...
March 23, 2012
General »
[snip]

Let's see what requirements need to be satisfied by []. Say k is a...
March 23, 2012
General »
That does not apply to your example with double and int. (I'd argue that...
March 23, 2012
General »
Because Andrei says that the .idup shouldn't be performed unless it's necessary (e...
March 23, 2012
General »
Why do you not just do the conversion and then compute the hash, even if...
March 23, 2012
General »
...more advanced solution is to perform representation conversions (e.g., int -> double) first, and *then...
March 21, 2012
Issues »
...for implicit conversions first and to consider the element type for implicit conversions only after...
March 19, 2012
Issues »
http://d.puremagic.com/issues/show_bug.cgi?id=7366


Don <clugdbug@yahoo.com.au...
162 163 164 165 166 167 168 169 170 171 172
Next ›   Last »