December 12, 2022 General » Re: ModuleInfo, Object.localClasses(), and Object.find() - any users? | |||
|---|---|---|---|
| |||
...kinda do this with the curiously-recurring template pattern but still subclasses can fall through... | |||
December 11, 2022 Learn » Re: Function template as template parameter | |||
|---|---|---|---|
| |||
Yes Thanks for confirming this. | |||
December 11, 2022 Issues » [Issue 18998] Improve Operator Overloading docs | |||
|---|---|---|---|
| |||
...then move on to multidimensional. Well non-template opSlice(i, j) 'is discouraged', so they... | |||
December 11, 2022 Learn » Re: Function template as template parameter | |||
|---|---|---|---|
| |||
...anonymous template. I don't think it's possible. The following works because the template... | |||
December 11, 2022 Learn » Re: Function template as template parameter | |||
|---|---|---|---|
| |||
I can't quite understand the question, this already works: ```d void foo(alias callback... | |||
December 11, 2022 Learn » Function template as template parameter | |||
|---|---|---|---|
| |||
I have this (very simplified) code:
```d
void foo(alias callback)()
{
callback!5;
}
static void... | |||
December 09, 2022 General » Re: ModuleInfo, Object.localClasses(), and Object.find() - any users? | |||
|---|---|---|---|
| |||
...is to turn the array into a template function that returns an array, the instantiation... | |||
December 09, 2022 General » Re: ModuleInfo, Object.localClasses(), and Object.find() - any users? | |||
|---|---|---|---|
| |||
...it will be included. Sorta like a template. But I've no idea how feasible... | |||
December 08, 2022 Issues » [Issue 23544] New: Allow enum types be defined with semicolons | |||
|---|---|---|---|
| |||
...be fed into and used by a template via an alias, but using the name... | |||
December 05, 2022 Issues » [Issue 23319] std.range.Generator does not work with non-mutable elements | |||
|---|---|---|---|
| |||
...expression `this.func` deneme.d(4448): Error: template instance `deneme.gen!(function () pure nothrow @nogc... | |||
Copyright © 1999-2021 by the D Language Foundation