May 06 General » Big picture on shared libraries when they go wrong, how? | |||
|---|---|---|---|
| |||
...Different version size mismatch, behavior changes fields ext. This of course doesn't answer questions... | |||
May 04 Learn » Turning fixed sized array into tuple | |||
|---|---|---|---|
| |||
...I have a function:
```d
size_t awaitAny(T...)(T args) { ... }
```
And I have:
``d... | |||
May 04 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
...it's a DIP that Walter doesn't like, or is not inclined to work... | |||
May 04 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
...information about its length/size? 3. Would it...I hope you don't mind. They belong... | |||
May 04 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
...all these proposals to `int` index like `size_t` and `const typeof(arr.length)` are... | |||
May 04 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
...of a DIP being accepted. I didn't know staticArray was there when I posted... | |||
May 03 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
You can't read `i` at compile-time. `staticArray!range` only works when `range` elements... | |||
May 03 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
even better: ```d foreach (const typeof(arr.length) i, row; arr) ``` Otherwise I respect your... | |||
May 03 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
Isn't that obvious ? ```d foreach (const size_t i, row; arr) ``` `arr` is not... | |||
May 03 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
So how would you update this example, what is the right index type here to... | |||
Copyright © 1999-2021 by the D Language Foundation