Just like a standard alias, as opposed to only "Identifier".
Right now:
AliasThisDeclaration:
alias Identifier this
Request:
AliasThisDeclaration:
alias Identifier this
alias BasicType this
See also:
https://d.puremagic.com/issues/show_bug.cgi?id=8735
For example:
struct Foo
{
int test(string op)() { return 0; }
alias test!"*" this;
}
Comment #1 by robert.schadek — 2024-12-13T18:14:03Z