Search

June 02, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23955

--- Comment #1 from Vladimir Panteleev <dlang...
June 02, 2023
Issues »
...This Parameters" (https://dlang.org/spec/template.html#template_this_parameter) a lot less useful...
June 01, 2023
General »
...on template syntax, but they were right on using ASCII. D has good template syntax...
June 01, 2023
Learn »
...enum.

Or really, just `foreach(memberName; __traits(allMembers, t))` right in the diet template.

-Steve
May 31, 2023
Learn »
...param x,in T2 param y)
if (template-qualification-whatever) in {
    static assert(…);
}
out...
May 31, 2023
Learn »
...param x,
        in T2 param y
        )
            if ( template-qualification-whatever )
in     {
        static assert( … );
        }
out...
May 31, 2023
General »
...a favourites comment block in a starter template file might be another example.

Argument against...
May 31, 2023
Learn »
When render vibe.d diet template,

    string[] allMembers = __traits(allMembers, t);
    res.render!("index.dt...
May 30, 2023
General »
...then you can call it like:

File("template.html", "r").genSplitHtml(data).writeTo(File(filename...
May 30, 2023
General »
...hand. In D, you add a single template parameter to your function, and you're...
137 138 139 140 141 142 143 144 145 146 147
Next ›   Last »