January 09, 2023 Issues » [Issue 23612] Template constraints article not listed in article index | |||
|---|---|---|---|
| |||
...Template constraints article not listed in article index https://github.com/dlang/dlang.org/pull... | |||
January 09, 2023 Issues » [Issue 23612] New: Template constraints article not listed in article index | |||
|---|---|---|---|
| |||
...Template constraints article not listed in article
index
Product: D
Version: D2
Hardware: All
OS... | |||
January 06, 2023 General » Re: Fixing C's Biggest Mistake | |||
|---|---|---|---|
| |||
...might construct a static array inside an index expression where $ may be bound to the... | |||
January 05, 2023 Learn » Re: How to avoid variable capturing in `foreach` loop with lambdas? | |||
|---|---|---|---|
| |||
...e., the last value of the loop index. Do this instead: ```D foreach (BoardSize boardSize... | |||
January 05, 2023 Learn » Re: forgetting -betterC means no runtime bounds checking? | |||
|---|---|---|---|
| |||
...dmd_runJFfSJW: onlineapp.d:12: Assertion 'array index out of bounds' failed. Error: program killed... | |||
January 05, 2023 Learn » Re: forgetting -betterC means no runtime bounds checking? | |||
|---|---|---|---|
| |||
...handler core.exception.ArrayIndexError@test.d(25): index [5] exceeds array of length 5 Aborted... | |||
January 04, 2023 Learn » Re: Address of a class object | |||
|---|---|---|---|
| |||
...t index) {
alias HiddenType = void*;
auto ptrToHiddens = cast(HiddenType[2]*)obj;
return (*ptrToHiddens)[index];
}
Here... | |||
January 04, 2023 General » Re: Fixing C's Biggest Mistake | |||
|---|---|---|---|
| |||
...stdio;
if(auto result = fun.nextIndexOf(6)) {
"index of ".write(result - 1);
} else {
"Not".write... | |||
January 04, 2023 General » Re: Fixing C's Biggest Mistake | |||
|---|---|---|---|
| |||
...it finds the integer, it returns the index in the array where the integer occurs... | |||
December 28, 2022 Learn » Re: Can you simplify nested Indexed types? | |||
|---|---|---|---|
| |||
...but as you mention, it uses more memory and makes index evaluation eager (vs lazy). | |||
Copyright © 1999-2021 by the D Language Foundation