June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
...instance of ``shared_AA_class`` gets put into the .init of ``shared_AA``. It is... | |||
June 25 Learn » Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
...aa;
alias aa this;
public:
void print() {
writeln(&aa, aa);
}
}
struct shared_AA {
shared_AA... | |||
June 24 DIP Development » Re: First Draft: Callback For Matching Type | |||
|---|---|---|---|
| |||
...a safe cast. Similar to `key in aa` for associative array lookup. * `__unsafe_constant`, `__unsafe... | |||
June 20 Issues » [Issue 24618] New: redefined core type errors should show fully qualified name | |||
|---|---|---|---|
| |||
...that looked like this: cannot pass argument `(*aa.impl).keysz` of type `immutable(uint)` to... | |||
May 28 Learn » Re: Problem with clear on shared associative array? | |||
|---|---|---|---|
| |||
...structure handles all of this for you. AA's are not concurrent because it doesn... | |||
May 26 Learn » Re: Problem with clear on shared associative array? | |||
|---|---|---|---|
| |||
...be doing _any_ operation on a shared AA without first locking a mutex to protect... | |||
May 26 Learn » Problem with clear on shared associative array? | |||
|---|---|---|---|
| |||
...not ready to act on a shared AA?
synchronized class F {
private:
string[int] mydict... | |||
May 24 Learn » Parallel safe associative array? | |||
|---|---|---|---|
| |||
...course. And obviously loading down your raw AA with thread barriers would be foolish. But... | |||
May 21 DIP Ideas » Re: Parameter storage classes on foreach variables | |||
|---|---|---|---|
| |||
...these special-case rewrites. Binding an array/AA/range element to an `out` loop variable... | |||
May 17 DIP Ideas » Parameter storage classes on foreach variables | |||
|---|---|---|---|
| |||
...string] aa;
foreach (out key, out value; aa) { … }
// lowers to
{
auto __aa = aa;
for... | |||
Copyright © 1999-2021 by the D Language Foundation