Search

December 12, 2022
General »
...kinda do this with the curiously-recurring template pattern but still subclasses can fall through...
December 11, 2022
Learn »
Yes

Thanks for confirming this.
December 11, 2022
Issues »
...then move on to multidimensional.

Well non-template opSlice(i, j) 'is discouraged', so they...
December 11, 2022
Learn »
...anonymous template. I don't think it's possible.

The following works because the template...
December 11, 2022
Learn »
I can't quite understand the question, this already works:

```d
void foo(alias callback...
December 11, 2022
Learn »
I have this (very simplified) code:
```d
void foo(alias callback)()
{
    callback!5;
}

static void...
December 09, 2022
General »
...is to turn the array into a template function that returns an array, the instantiation...
December 09, 2022
General »
...it will be included. Sorta like a template.  But I've no idea how feasible...
December 08, 2022
Issues »
...be fed into and used by a template via an
alias, but using the name...
December 05, 2022
Issues »
...expression `this.func`
deneme.d(4448): Error: template instance `deneme.gen!(function () pure nothrow
@nogc...
217 218 219 220 221 222 223 224 225 226 227
Next ›   Last »