April 05, 2012 General » Re: Custom attributes (again) | |||
|---|---|---|---|
| |||
...got overloading, name mangling, type inference, implicit conversions, covariance, etc. All I can say is... | |||
April 04, 2012 Learn » Re: Questions about the slice operator | |||
|---|---|---|---|
| |||
...it to happen by accident. If such conversions were implicit, you'd get hidden performance... | |||
April 04, 2012 Learn » Re: Questions about the slice operator | |||
|---|---|---|---|
| |||
...I've already given, generally because implicit conversions are often a bad thing. Requiring some... | |||
April 01, 2012 Announce » Re: video games (was Re: UFCS for D) | |||
|---|---|---|---|
| |||
...larger? Because it doesn't.) Pan & scan conversions of 16:9 -> 4:3. (Not that... | |||
March 26, 2012 General » Re: Getting around the non-virtuality of templates | |||
|---|---|---|---|
| |||
...with &_dg } Note, with proper delegate implicit conversions, you could probably get some better optimization... | |||
March 24, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
I assumed the key type needs to be immutable. If you want to allow instantiation... | |||
March 24, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
...takes advantage of the compiler's implicit conversions, and where necessary we can just add... | |||
March 24, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
[...] OK, I'll make a branch and give it a try. [...] Good idea, IFTI's... | |||
March 24, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
Better:
static if(is(typeof(getConstQual!Key.init.idup):Key) && !is(getConstQual!Key: Key)){ | |||
March 24, 2012 General » Re: Implicit conversions for AA keys | |||
|---|---|---|---|
| |||
should be else static if(is(T _ == shared(U),U)) alias shared(const(getConstQual!U... | |||
Copyright © 1999-2021 by the D Language Foundation