July 22, 2012 General » Re: OSCON 2012 notes | |||
|---|---|---|---|
| |||
...x is ", x)
for i := 0; i < len(x); i++ {
e := x[i]
fmt.Printf... | |||
July 11, 2012 c++.stlsoft » Fasformat mixing ansi and wide | |||
|---|---|---|---|
| |||
...it complains for example that c_str_len_w cannot convert arguments. By browsing the... | |||
July 01, 2012 Issues » [Issue 8331] Problem with sort!(SwapStrategy.stable) | |||
|---|---|---|---|
| |||
...return 1
return 0
print sorted(range(len(a)), cmp=cmp)
Outputs:
[11, 19, 22... | |||
June 17, 2012 General » Re: Segmented Ranges? | |||
|---|---|---|---|
| |||
...len];
}
void popFront() {
len = 0;
while (len < chunkLength && !r.empty) {
chunk[len] = r.front;
len... | |||
June 11, 2012 Issues » [Issue 8219] New: File.writeln is slow | |||
|---|---|---|---|
| |||
...uint(args[1]);
enum uint max_int_len = 12;
enum uint buf_size = 1_000... | |||
June 08, 2012 Learn » const version for foreach/opApply | |||
|---|---|---|---|
| |||
...result;
for (size_t i = 0; i < len; i++)
{
bool b = opIndex(i);
result = dg... | |||
June 05, 2012 General » Test for array literal arguments? | |||
|---|---|---|---|
| |||
...string itemName, int len)
/*pure nothrow*/ {
string[] result;
foreach (i; 0 .. len)
result ~= xformat("%s... | |||
June 02, 2012 Issues » [Issue 8185] Pure functions and pointers | |||
|---|---|---|---|
| |||
...t matter
in { assert(i < len); }
body {
return p[len];
}
}
---
?
And this is valid:
---
void... | |||
June 02, 2012 Issues » [Issue 8185] New: Pure functions and pointers | |||
|---|---|---|---|
| |||
...pure;
struct MyArray { int* p; size_t len; }
void** h(in MyArray arg) pure;
---
The... | |||
May 30, 2012 Learn » Re: Exception caused by calling a pure function repeatedly | |||
|---|---|---|---|
| |||
...bool[] redundancy, const ushort[LEN - 1][] matrixes, const int[2^^LEN] bits, const int[] numbers... | |||
Copyright © 1999-2021 by the D Language Foundation