Search

August 15, 2023
Learn »
...be inferred based on the attributes of your constructor, because emplace is a template.

-Steve
August 15, 2023
General »
On Tuesday, 15 August 2023 at 10:54:52 UTC, H. S. Teoh wrote:

Those...
August 15, 2023
Learn »
...that I should look for in future template-related problems?  Or, if it just comes...
August 15, 2023
General »
It doesn't do anything. It's only there because I copied it from Michael...
August 15, 2023
General »
`is(T)` is standard idiom for checking whether T is a valid type.

It's...
August 15, 2023
General »
Here it indeed serves no particular purpose, I think this was just to illustrate the...
August 15, 2023
General »
Can you tell what `is(T)` is doing here?
From the docs it seems to...
August 15, 2023
Learn »
...is well a Base implementor:

```d
mixin template Base()
{
    enum LookImABase = true;
    int x(){ return...
August 15, 2023
Learn »
Consider the following template mixin:
```d
mixin template Base()
{
    int x(){ return 10; }
}
```
It could...
August 15, 2023
Issues »
...lo.toBigEndianBytes(bytes[HALFSize..N]);
        }
        return bytes;
    }
}

template makeHALF(int N)
{
    static if (N >= 4...
121 122 123 124 125 126 127 128 129 130 131
Next ›   Last »