Search

June 16, 2021
General »
...exmaple above:

```d
void foo() @trusted
{
    int[100...having @trusted/@system blocks inside @safe functions would...
June 16, 2021
General »
...any shady stuff inside it. To me this really looks like foo() should be @trusted...
June 16, 2021
General »
...does now?

```d
void foo() @safe
{
   int[100...DIP1035) and variables declared inside a @trusted block...
June 16, 2021
General »
...foo() @safe
{
    () @trusted { ... }();
}
```

becomes this:

```d
void foo...want trusted code blocks inside functions. Why not...
June 09, 2021
Learn »
...All member = x things inside a class or...s one instance of Foo there which is...
May 19, 2021
Learn »
...be common to see ; inside.

The only real...to a variable.

auto Foo = X;

If X...
May 15, 2021
Learn »
...void func();

class Foo {
    void func();

    void stuff() {
         func();
    }
}
```

The func inside stuff would normally...
May 15, 2021
Issues »
...delegate() foo(return int delegate() dg) {
    return dg;
}

int delegate() bla(int i) {
    return foo...
May 15, 2021
Issues »
...DG foo(DG)(DG dg) {
    unpure();
    return dg;
}

auto bla(int i) {
    return foo((){ unpure...
May 14, 2021
Issues »
...parameter `dg` of `foo` is inferred
`scope`.
`dg` is inferred `scope` because `foo` is inferred...
3 4 5 6 7 8 9 10 11 12 13 14
Next ›   Last »