Search

August 08, 2022
Learn »
...t = testArray!(10, "int")(60);
```

As the template parameter being part of the constructor would...
August 08, 2022
Learn »
This will only be included in the object file if used.

This will always be...
August 08, 2022
Learn »
Hello.
I found in the documentation functions declared like this:

```D
pure @nogc @safe BigInt...
August 08, 2022
Learn »
Yeah I think the only template argument you can have for constructors are `this` which...
August 08, 2022
Learn »
...and be able to successfully initialize the template parameters
of the constructor but until now...
August 05, 2022
Learn »
...the function.

And what if the other template is used?

This is the AST from...
August 05, 2022
Learn »
...left. Fine for me since the other template is unused.

Same for your example:
```d...
August 05, 2022
Learn »
oof, I expected this to include the template parameters! I believe it normally does?

This...
August 05, 2022
Learn »
...end when there's only this one template instantiation:

```d
opOpAssign!"/"
{
	pure nothrow @nogc @safe...
August 04, 2022
General »
...S(E, T)
    {
        private T flags;

        private template Impl(T mask)
        {
            pure nothrow @nogc @safe...
261 262 263 264 265 266 267 268 269 270 271
Next ›   Last »