Search

February 09, 2022
Announce »
...bother with `in` when we can do:
>
> alias In(T) = const scope T;
>
> void test...
February 10, 2022
Announce »
...bother with `in` when we can do:

alias In(T) = const scope T;

void test...
February 09, 2022
Issues »
...other) inout { }
}

immutable struct Value
{
    CopyConstruct c;
}

alias _ = SumType!Value;
---

The example above produces the...
February 09, 2022
Learn »
I would do this.

```
import std;

alias Record = Tuple!(string, string, string);

static immutable string...
February 09, 2022
Learn »
...compile time?

```
import std.csv, std.stdio;

alias Record = Tuple!(string, string, string);

immutable string...
February 08, 2022
Learn »
...think I'll just stick with the alias.


T

-- 
Who told you to swim in...
February 08, 2022
Learn »
...will raise a syntax error). So the alias is in fact necessary.


T

-- 
Fact is...
February 08, 2022
Learn »
...0]` or `char[0]`, for example.)

The `alias` and the `enum` just make the code...
February 08, 2022
Learn »
...want to put in your set.


The alias is a workaround for a syntactic limitation...
February 06, 2022
General »
...when would you use this?

D has alias, so you all you need is a...
245 246 247 248 249 250 251 252 253 254 255
Next ›   Last »