Friends,
I have a class that needs two constructors:
class Foo{
this(int x){}
this(T)(T x) if(!is(T == int)){}
}
void main(){}
But this does not compile because the two constructors conflict:
buggy.d(3): Error: template buggy.Foo.__ctor(T)(T x) if (!is(T ==
int)) conflicts with constr
Friends,
I note that there are playing cards in unicode:
http://en.wikipedia.org/wiki/Playing_cards_in_Unicode
They follow a nice pattern, so I can quickly convert from a rank
and suit to the appropriate escape sequence in D. I'd like to
automate this, but I can't seem to do arithmetic on unico