Search

August 11
Learn »
...index);  // return a new container

  // v.s.
  aa.remove(key);  // return bool (if it's...
August 11
Issues »
...index);  // return a new container

  // v.s.
  aa.remove(key);  // return bool (if it's...
July 25
Issues »
...update` is a perfect example of this:
```
aa.update(
  "key",
  () => 0,
  (int a){},
);
```
This is...
July 22
General »
...foreach (v; aa)` is supposed to run over values and `foreach (k, v; aa)` over...
July 22
General »
...following compiles:

```d
void main() @nogc
{
    int[string] aa;
    foreach (k, v; aa)
        assert(v);
}
```
July 22
General »
...use this interface in user code too: aa.byKeyValue().  The non-range interface is really...
July 22
General »
...doesn’t really support key–value pair iteration. An AA can be iterated by values or keys...
July 21
General »
Probaly history, ranges were d2, aa's in d1 look basically the same https://digitalmars...
July 21
General »
...Is really there any reason for a `foreach` over an AA not to be `nothrow`?
July 19
Issues »
...dynamic array.

Another issue is with an AA of static array key type: https://forum...
1 2 3 4 5 6 7
Next ›   Last »