Uf... you are right!
I've fixed it.
Thanks!
On Monday, 2 February 2015 at 11:23:17 UTC, FG wrote:
Bloody Thunderbird has sent a reply to the OP and not to the NG.
On 2015-02-02 at 11:45, gedaiu wrote:
I don't think that the line of code is wrong. If use && the
function will check for neigh
I don't think that the line of code is wrong. If use && the
function will check for neighbours only on diagonals. Having ||
allows the search on the vertical and horizontal axis and
diagonals.
There are some tests that check the function:
unittest {
CellList world = [ Cell(0,0), Cell(0,1), C
It's true that I have to change that function. Thanks for the
notice!
Why do you think that D's GC is crap?
On Sunday, 1 February 2015 at 21:54:43 UTC, Foo wrote:
On Sunday, 1 February 2015 at 21:00:07 UTC, gedaiu wrote:
Hi,
I implemented Conway's game of life in D. What do you think
tha
Hi,
I implemented Conway's game of life in D. What do you think that
I can improve to this program to take advantage of more D
features?
https://github.com/gedaiu/Game-Of-Life-D
Thanks,
Bogdan
On Wednesday, 3 December 2014 at 18:25:41 UTC, bearophile wrote:
Ali Çehreli:
Attempting to compile with a recent dmd git head causes
segmentation fault. Any compiler crash is a compiler bug.
Please report it at
https://issues.dlang.org/
Ali
A first reduction for Bugzilla:
alias TypeTu
Hi,
Is this a bug in the compiler?
import std.stdio;
import std.typetuple;
class A {
int foo() {
return 0;
}
}
class B : A {
alias A.foo foo;
override int foo() {
return 1;
}
}
template ItemProperty(item, string meth
[sorry... this is the edit for the prev post]
Thank you for your response!
I don't think that it helps me...
I wanted to get an array like this [ "a", "b", "c" ] for this
class
class test {
int a;
string b;
double c;
}
Bogdan
On Tuesday, 30 September 2014 at 14:20:04 UTC, Rene Zwanenburg
Thank you for your response!
I don't think that it helps me...
I wanted to get an array like this [ "a", "b", "c" ] for this
class
class test {
}
Bogdan
On Tuesday, 30 September 2014 at 14:20:04 UTC, Rene Zwanenburg
wrote:
On Monday, 29 September 2014 at 20:21:43 UTC, gedaiu wrote:
H
Hi,
There is a way to determine all public properties (not methods)
from a struct/class at compile time?
I seen that there are traits to get only methods but not
properties. Am I wrong?
thanks,
Bogdan
Hi,
I am trying to use regex at compile time for pasing of some html
files. The code works perfect at runtime but at compile time i
get this error:
/usr/include/dmd/phobos/std/regex.d(5824): Error: malloc cannot
be interpreted at compile time, because it has no available
source code
/usr/
10 matches
Mail list logo