August 24, 2011 Issues » [Issue 6547] New: Call to std.algorithm.remove causes compile error | |||
|---|---|---|---|
| |||
...find("<");
auto len = s[start..$].find(">");
s = s.remove(tuple(start, start+len+1));
writeln... | |||
August 21, 2011 General » Re: Optional braces | |||
|---|---|---|---|
| |||
...solution(sol[-1]):
if best or len(sol) < len(best):
best = list(sol)
else:
for... | |||
August 15, 2011 Learn » Re: byte* and int length -> byte[] | |||
|---|---|---|---|
| |||
...immutable(byte)* ptr = data.ptr;
auto ptr_len = data.length;
// Making an immutable copy is... | |||
August 15, 2011 Learn » Re: byte* and int length -> byte[] | |||
|---|---|---|---|
| |||
...or similiar) len then b[0.. len] is a slice starting b conatining len elements... | |||
August 12, 2011 General » Re: [GSOC] regular expressions beta is here | |||
|---|---|---|---|
| |||
...j) + 1)) for j in range(1, len(q)+1)] Instead of: foreach (j; 1... | |||
August 10, 2011 General » Re: [GSOC] regular expressions beta is here | |||
|---|---|---|---|
| |||
...657 658 assert (i >= 0 && i < deque->len); 659 if (_deque_rotate(deque, -i) == -1... | |||
August 08, 2011 General » Re: Post-ctor ctor | |||
|---|---|---|---|
| |||
...0..len])
{
result ~= x.stringof ~ " " ~ fields[y] ~ ", ";
}
result = result[0.. $-2] ~ ") { ";
foreach (x; 0 .. len... | |||
August 06, 2011 General » Re: alloca() in D | |||
|---|---|---|---|
| |||
...auto arr = (cast(int*)alloca(len * int.sizeof))[0 .. len];
//Now worry about default values... | |||
August 04, 2011 Issues » [Issue 4375] Require explicit braces when 'else' is ambiguous | |||
|---|---|---|---|
| |||
...solution(sol[-1]):
if best or len(sol) < len(best):
best = list(sol)
else:
for... | |||
August 03, 2011 Learn » Immutable member functions and private members | |||
|---|---|---|---|
| |||
...open Pandora's box?
Small example:
int len(const char[] c) {
return c.length;
}
struct... | |||
Copyright © 1999-2021 by the D Language Foundation