On Friday, 2 August 2019 at 21:10:08 UTC, Andrej wrote:
The D spec mentions something called mixin types:
This is brand new to the spec and hasn't yet been released in a
compiler.
You can get a nightly build here
https://dlang.org/changelog/pending.html to maybe try, but I
don't think it
The D spec mentions something called mixin types:
https://dlang.org/spec/grammar.html#MixinType
https://dlang.org/spec/type.html#mixin_types
If I'm understanding the grammar right, it means you can use a
string mixin anywhere a Type would normally go, for example:
int func(mixin("int") x)
{