August 25, 2022 General » Re: What is the state of @property? | |||
|---|---|---|---|
| |||
...int index = size - 1;
@property empty() {
return index < 0;
}
@property front() {
return bytes[index];
}
@property... | |||
August 22, 2022 Learn » Re: Exercise at end of Ch. 56 of "Programming in D" | |||
|---|---|---|---|
| |||
...index = 0;
foreach(arg; args)
{
static if(isAssignable!(T, typeof(arg)))
{
v[index] = arg;
index... | |||
August 18, 2022 Learn » Re: Recommendation for parallelism with nested for loops? | |||
|---|---|---|---|
| |||
...much on topic. :) http://dconf.org/2022/index.html#roym And the following program cannot... | |||
August 18, 2022 Announce » DConf '22 Slide Links and Update on Videos | |||
|---|---|---|---|
| |||
...s "Show Details". https://dconf.org/2022/index.html#schedule I'm still waiting on... | |||
August 16, 2022 Issues » [Issue 4410] AA has inconsistent and unreasonable requirements for iterating over reference-type index | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=4410 Steven Schveighoffer <schveiguy@gmail.com> changed... | |||
August 15, 2022 Announce » New WIP DUB documentation | |||
|---|---|---|---|
| |||
...people + it has a great offline search index and a bunch of interactive elements, that... | |||
August 15, 2022 Issues » [Issue 22916] [dip1000] copy of ref return still treated as scope variable | |||
|---|---|---|---|
| |||
...cancels out the dereference. If you mark `index` just `scope`, the compiler correctly complains about... | |||
August 15, 2022 Issues » [Issue 22916] [dip1000] copy of ref return still treated as scope variable | |||
|---|---|---|---|
| |||
...com> ---
Here's the problem:
ref int* index() return scope {
return *ptr;
}
The `scope` applies... | |||
August 15, 2022 Issues » [Issue 4410] AA has inconsistent and unreasonable requirements for iterating over reference-type index | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=4410 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
August 14, 2022 Learn » Re: Index an AliasSeq with a run-time index | |||
|---|---|---|---|
| |||
Thanks | |||
Copyright © 1999-2021 by the D Language Foundation