Search

January 20, 2022
Issues »
...lsferreira.net

The compiler accepts the following:

```
alias func = (auto c) {};
```

But when instantiation `func...
January 20, 2022
Learn »
...So you don't need to use alias. If you want it the other way...
January 20, 2022
General »
...Phobos bug.

```
import std.variant;
void main() {
    alias A = immutable(ubyte)[];
    auto a = Variant(immutable...
January 20, 2022
General »
...wait, I just noticed Buffer is an alias to an immutable array.

Ignore what I...
January 20, 2022
General »
...std.variant : Variant;
import std.process : thisThreadID;

alias Buffer = immutable(ubyte)[];

void pros2(string name...
January 20, 2022
Learn »
...you __traits(getMember, Manager, memberName) to actually get the alias you can pass to getAttributes.
January 19, 2022
Learn »
...enum b = 7; // ASCII 70: F

    alias type = char;
    alias test = inclusiveRange;

void main() {
  string...
January 19, 2022
Learn »
...Foo{
    Bar.B b;

    static if(true)
    	alias F = int;

}

class Bar{
    Foo.F f...
January 18, 2022
Learn »
Has nothing to do with `__VERSION__`:

https://run.dlang.io/is/pa8lDy

That does seem...
January 18, 2022
General »
...declarations to an alias
    static if (is(typeof(locusFunc) Params == __parameters))
        alias Locus = Params;
    else...
251 252 253 254 255 256 257 258 259 260 261
Next ›   Last »