Search

August 01, 2022
Issues »
...confirming a report on the chat room:

```
template A() {
        void foo() { }
        auto bar() { }
}

static assert...
August 01, 2022
Learn »
...I'm guessing how it works?

'''D
template filter(alias predicate)
if (is(typeof(unaryFun...
August 01, 2022
Learn »
...marked with the keyword "alias":

    template filter(alias predicate)

Alias template parameters are special. They...
August 01, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=23279

--- Comment #2 from Marcelo Silva Nascimento...
August 01, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=23279

Marcelo Silva Nascimento Mancini <msnmancini@hotmail...
August 01, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=23279

--- Comment #1 from Marcelo Silva Nascimento...
August 01, 2022
Issues »
...template getParams (alias fn)
{
        static if ( is(typeof(fn) params == __parameters) )
        alias getParams = params;
}
template...
July 31, 2022
Issues »
...typeof(oops),
oops.stringof)` would work.

Mixin template does not have this limitation, so, I...
July 31, 2022
Learn »
...wish to generate some functions using mixin template and I wish to check if the...
July 31, 2022
Issues »
...A {
        void foo();
        void foo(int);
}

mixin template C() {
        void foo(){ return impl.foo(); }
        void...
264 265 266 267 268 269 270 271 272 273 274
Next ›   Last »