May 03 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
...must be of type T because arr.length type is T"_. What's is happening... | |||
May 03 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
and this won't work either: int i = 2; //int[10] powersOfTwo = generate!(() => i *= 2... | |||
May 03 General » Re: Common type of ubyte and const ubyte is int | |||
|---|---|---|---|
| |||
...they generally do it for size reasons, and don't want to end up with... | |||
May 03 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
...just enjoy having bugs with some implicit size_t, or do everyone just enjoy deprecation... | |||
May 03 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
...is still the length, you just don't know what it is yet. module m... | |||
May 01 General » Re: Common type of ubyte and const ubyte is int | |||
|---|---|---|---|
| |||
...T as the larger type, with a preference for unsigned type if tied in size... | |||
April 29 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...enum size_t i)
{
static if (__traits(isEnum, i) { ... } else { ... }
}
}
X x;
size_t i... | |||
April 29 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...d do: ```d auto opSlice(size_t l, size_t u)(enum : l, enum : u... | |||
April 29 Issues » [Issue 24528] New: Add offending member to "no size because of forward reference" error | |||
|---|---|---|---|
| |||
...code problem.
Perhaps change this code:
```
for (size_t i = 0; i < members.length; i... | |||
April 29 DIP Ideas » Re: Inferring static array size | |||
|---|---|---|---|
| |||
``_`` is a valid identifier that may point to a length. So that isn't usable. | |||
Copyright © 1999-2021 by the D Language Foundation