Search

January 06, 2022
General »
Why is that a surprise? You could similarly do something like:

alias S=AliasSeq!(string);
January 05, 2022
General »
...example could be written as follows:

    alias apply(alias fun) = (args) => fun(args.tupleof);
    [(1...
January 05, 2022
Announce »
...One solution is as follows:

void StaticAssert(alias x)() if (x) {}
bool testInputRange(T)() {
	StaticAssert...
January 05, 2022
General »
Well, then let's not extend `alias this`.

How about something like opArgs, dealing specifically...
January 04, 2022
General »
I confess, this makes me uneasy. `alias this` produced a lot of unintended consequences. I...
January 05, 2022
Learn »
...c = func(a); // I expected c to alias a here
    c = 10; // Expected to modify...
January 05, 2022
General »
...that Phobos tuples are implemented using an `alias this` to a built-in "tuple" of...
January 04, 2022
Learn »
...changelog/2.088.0.html#remove-nullable-alias-get-this

A reminder at least to...
January 04, 2022
Issues »
...live.nl> ---
Reduced a bit more:
```
@safe:
alias DG = void delegate() @safe;

void main()
{
    DG...
January 04, 2022
General »
...DIP draft extends "alias this" to allow this (which should work anyway):

alias Seq(T...
256 257 258 259 260 261 262 263 264 265 266
Next ›   Last »