On 64 bit may cause crash: arr.length = length, fixed in next
version.
arr.length = 0; // must be deallocation?
Not necessarily. You can manually do a garbage collection.
11.04.2013 12:13, Alexandr Druzhinin пишет:
Ali, please, take a look at this http://dpaste.dzfl.pl/44e64eb0
it's code of ctor of iota float point specialization. And it's strange
for me, that pastEnd and (start + count * step) have the same value, but
give different comparing results.
it fixes
05.04.2013 1:26, Ali Çehreli пишет:
I was wrong. What I found is just a workaround. Created a bug for iota:
http://d.puremagic.com/issues/show_bug.cgi?id=9877
The following program fails when compiled with -m32:
import std.range;
void main()
{
float st = 0.000;
float
Hello!
I'm using Debian 7 system and dmd 2.062.
I use some array functions to test memory allocation process in D
and
have a segmentation fault as a result of this test.
How it works:
1 iteration.
Before allocation we have over 9.5 Mb of virtual memory used.
After allocation we hav
On 04/10/2013 03:20 PM, Josh wrote:
After trying to compile in 64 bit and failing, I've given up and just
used 32 bit. So now I have GTK-Runtime 3.6.1 32 bit, GtkD 2.1.1 and DMD
2.062. My program is still giving the no schemas error, and trying to
compile the schemas gives the same warnings as b
On Wednesday, 10 April 2013 at 18:24:58 UTC, Jesse Phillips wrote:
On Monday, 8 April 2013 at 05:12:24 UTC, cal wrote:
class C(T){}
class CC(T){}
struct S(T){}
struct SS(T){}
void main()
{
import std.stdio;
writeln(typeid(S!(SS!int)).name); // S!(SS!(int)).S
writeln(typeid(C!(CC!int)).n
On Monday, 8 April 2013 at 05:12:24 UTC, cal wrote:
class C(T){}
class CC(T){}
struct S(T){}
struct SS(T){}
void main()
{
import std.stdio;
writeln(typeid(S!(SS!int)).name); // S!(SS!(int)).S
writeln(typeid(C!(CC!int)).name); // C!(CC).C
}
Is there a way to get the full type info in
On Tuesday, 9 April 2013 at 23:18:26 UTC, Steven Schveighoffer
wrote:
On Tue, 09 Apr 2013 18:53:56 -0400, Joseph Rushton Wakeling
wrote:
By the way: the reason that I rejected the temporary-variable
choice was that I
couldn't really see the difference cost-wise between doing
that, versus
retur
On Wednesday, 3 April 2013 at 20:41:47 UTC, Mike Wey wrote:
On 04/03/2013 05:38 AM, Josh wrote:
On Tuesday, 2 April 2013 at 20:50:16 UTC, Mike Wey wrote:
On 04/02/2013 02:38 PM, Josh wrote:
On Sunday, 31 March 2013 at 14:21:50 UTC, Mike Wey wrote:
On 03/30/2013 05:42 PM, Josh wrote:
On Satur