April 05, 2010 Learn » Re: Comparing Two Type Tuples | |||
|---|---|---|---|
| |||
...you can even get rid of the 'len' part and cut in the middle: bool... | |||
April 04, 2010 Learn » Re: Comparing Two Type Tuples | |||
|---|---|---|---|
| |||
...void compare(uint LEN, TL ...) () {
writefln("%s", is(TL[0 .. LEN] == TL[LEN .. $]));
}
void main... | |||
March 28, 2010 General » static foreach | |||
|---|---|---|---|
| |||
...static if(len == 1) { .. } static if(len == 2) { .. } and so on up to len = 22... | |||
March 24, 2010 General » Go updates | |||
|---|---|---|---|
| |||
...lo .. $] is acceptable. But there's a len() my dlibs too. It helps me avoid... | |||
March 15, 2010 General » assuaging static array literals | |||
|---|---|---|---|
| |||
...result;
}
enum size_t len = Args.length;
static CommonType!(Args)[len] result = mixin("["~expand()~"]");
return... | |||
March 15, 2010 General » Constraints & Concepts [Was: Re: C++0x news] | |||
|---|---|---|---|
| |||
...x = num_sides(P());
auto d = side_len(P(), 0);
typeof(d) r = 0;
r... | |||
March 12, 2010 General » Re: Built-in unsafety in D | |||
|---|---|---|---|
| |||
...is now uncountable. I really think that "len" or "size" are 100 times better for... | |||
March 12, 2010 Debuggers » What's the proper way to debug D programs with GDB? | |||
|---|---|---|---|
| |||
...internal/aaA.d:253
pkey = (void *) 0xff9439d8
len = 97
key_hash = 145249
i = 40
e... | |||
March 08, 2010 Genel » dmd 2.041 çıktı | |||
|---|---|---|---|
| |||
...int len;
this(int x) {
this.len = x;
}
T opCast(T:bool)() {
return this.len... | |||
March 08, 2010 Announce » Re: dmd 1.057 and 2.041 release | |||
|---|---|---|---|
| |||
...int len;
this(int x) {
this.len = x;
}
T opCast(T:bool)() {
return this.len... | |||
Copyright © 1999-2021 by the D Language Foundation