Search

November 19, 2021
Announce »
...function or that:

    ```d
    template Foo(T):
        alias Foo = T
    ```

Foo in this case was...
November 19, 2021
Learn »
...it a little I just modified the alias this example:
```
#!/usr/bin/env rdmd
struct...
November 19, 2021
Issues »
...com
          Reporter: andy.pj.hanson@gmail.com

```
alias Fn(T) = void function(FnContainer!T);

void...
November 18, 2021
General »
...frontend, and start removing things, like class alias this, shared, and (why not) start thinking...
November 18, 2021
Learn »
...p;
    // Forward all undefined symbols to p
    alias p this;
    double dot(Point rhs)
    {
        return...
November 18, 2021
Issues »
...take a custom allocator as a template alias parameter, we will solve
this issue.

PoC...
November 18, 2021
Issues »
...import std;

int foo()
{
    return refCounted(2); //(alias this) .refCountedPayload has ref return
}

void main...
November 17, 2021
Learn »
...An alias to a symbol, type, or value. This is specified using the keyword `alias...
November 17, 2021
General »
...reading... >_<


And D just hates implicit conversions(`alias this` considered bad and so on...) so...  ; _ ;
November 16, 2021
General »
...struct any {}
}

alias typeOrAny(T) = sumtype!(T, Mocker.any);

template expectationMethod(alias fn)
{
  alias ExpectedParams...
268 269 270 271 272 273 274 275 276 277 278
Next ›   Last »