Search

May 30, 2023
Issues »
...onlineapp.d(9): Error: template instance `foo!((__error))` incompatible
arguments for template instantiation
onlineapp.d...
May 30, 2023
General »
...void genSplitHtml(Data data, ...) {
	auto outputTemplate = File("template.html", "r");
	foreach (...) {
		auto filename = generateFilename(...);
		auto...
May 30, 2023
Issues »
...introduce a destructor.

eg.

```
import std;

mixin template AddNewDtor()
{
    ~this()
    {
        writeln("Mixin dtor");
    }
}

class Foo...
May 30, 2023
Issues »
...dmd/std/meta.d(632,42): Error: template instance
`std.sumtype.matchImpl!(Flag.yes,
destroyIfOwner...
May 30, 2023
Learn »
...s value to show in vibe.d template,
how do I use a function to...
May 30, 2023
Learn »
...dmd/std/meta.d(632,42): Error: template instance `std.sumtype.matchImpl!(Flag.yes, destroyIfOwner...
May 29, 2023
Learn »
...I make the one routine into a template?

That could work but give 'in' parameters...
May 30, 2023
Learn »
...I make the one routine into a template? Even if I did, that would perhaps...
May 29, 2023
Learn »
...more precisely, known at the time of template expansion. In this case, use `enum`:

	enum...
May 28, 2023
Learn »
...which not.
A good (?!?) example of how bad this can get is the "to" template.
138 139 140 141 142 143 144 145 146 147 148
Next ›   Last »