Search

October 15, 2022
Learn »
Thanks for this Ali. I found it useful to see another way to solve this...
October 15, 2022
Learn »
Thanks. Just found that

```
template funcptr (alias method) {
   enum funcptr = &method;
}
```

works on both dmd...
October 15, 2022
Issues »
...kdevel@vogtner.de

```
module dmd_gdc_difference;

template funcptr (alias method) {
   immutable funcptr = &method;
}

struct...
October 14, 2022
Learn »
...replaced the function call with a value:

```
template funcptr (alias method) {
   immutable funcptr = &method; // (*)
}
```

That...
October 14, 2022
Issues »
...to be the return type but the template instance, but there's nothing to be...
October 13, 2022
Issues »
...undefined identifier `__builtin_nanf`, did you mean
template `__builtin_inf()()`?

On macOS, the standard C...
October 11, 2022
Issues »
...would be that your template alias would include an additional template (with some rudimentary sketch...
October 11, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=23404

ag0aep6g <ag0aep6g@gmail.com> changed:

           What...
October 11, 2022
Learn »
This guy could have read std.meta's documentation or source, but instead makes assumptions...
October 10, 2022
Issues »
...when passing function
                    return type as aliased template argument
           Product: D
           Version: D2
          Hardware: x86...
235 236 237 238 239 240 241 242 243 244 245
Next ›   Last »