On 2008-11-09 19:50, deadimp wrote:
Mebbe the naiive expectations arise because most compilers (those for D, C++, C#, C, Java) take the expression `15 + 0.6` and returns a double - the highest general 'blanketing' type - even though the first operand is an int. I forgot what this concept was calle
If you're going to write C code in D, what's the point of using D? The
GC is your friend, usually, and unless you really know a lot about its
functions, just let it do its thing. Of course, if you're porting C code
over, that's a different matter, but when writing new D code, try to use
the lan
On 2008-10-23 11:42, Ary Borenszweig wrote:
bearophile wrote:
Steven Schveighoffer:
Given that the default implementation just compares references, I
think C1 is correct.
Otherwise you have weird shit like this:
[...something bad]
In that C1 class I have left out the implementation of opCmp,