November 22 Learn » Using a tuple as a function parameter | |||
|---|---|---|---|
| |||
...tup[i] == "" ? tup[0] : tup[i];
}
and would like to use it like this:
auto... | |||
November 21 Learn » Re: std.mmfile + std.bitmanip.peek, void[] is not a forward range? | |||
|---|---|---|---|
| |||
...memory-safe to access its elements. It would be like implicitly treating a void* like... | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
Python itertools has `product`, I use it from time to time and it can definitely... | |||
November 21 DIP Ideas » Re: New syntax for comma expression | |||
|---|---|---|---|
| |||
...pointer? Otherwise to generally fix it, there would need to be a way of declaring... | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
We can't help you by seeing your pseudocode. Because when we look at your... | |||
November 21 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...could actually do anything interesting with it would need to be @system anyway, all it... | |||
November 21 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...it wouldn't, unless you can actually demonstrate how it would result in memory corruption. -- | |||
November 21 Issues » [Issue 24870] New: cast() ignore when the dot operator is used | |||
|---|---|---|---|
| |||
...would appear that without parens, the cast() applies to t (which is what I would... | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
Heres a rule of thumb: Avoid functional programming if you should use goto | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
```
row.iota.each!(
cols.iota.each!((c){
writeln("...");
iota(6).each!(a=>writeln("..."));
})});
```
iota is... | |||
Copyright © 1999-2021 by the D Language Foundation