August 15, 2023 Learn » Re: AA vs __gshared | |||
|---|---|---|---|
| |||
...be inferred based on the attributes of your constructor, because emplace is a template. -Steve | |||
August 15, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
On Tuesday, 15 August 2023 at 10:54:52 UTC, H. S. Teoh wrote: Those... | |||
August 15, 2023 Learn » Re: Adding to a global AliasSeq | |||
|---|---|---|---|
| |||
...that I should look for in future template-related problems? Or, if it just comes... | |||
August 15, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
It doesn't do anything. It's only there because I copied it from Michael... | |||
August 15, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
`is(T)` is standard idiom for checking whether T is a valid type. It's... | |||
August 15, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
Here it indeed serves no particular purpose, I think this was just to illustrate the... | |||
August 15, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
Can you tell what `is(T)` is doing here? From the docs it seems to... | |||
August 15, 2023 Learn » Re: Adding to a global AliasSeq | |||
|---|---|---|---|
| |||
...is well a Base implementor:
```d
mixin template Base()
{
enum LookImABase = true;
int x(){ return... | |||
August 15, 2023 Learn » Adding to a global AliasSeq | |||
|---|---|---|---|
| |||
Consider the following template mixin:
```d
mixin template Base()
{
int x(){ return 10; }
}
```
It could... | |||
August 15, 2023 Issues » [Issue 24086] New: No output or failed function call | |||
|---|---|---|---|
| |||
...lo.toBigEndianBytes(bytes[HALFSize..N]);
}
return bytes;
}
}
template makeHALF(int N)
{
static if (N >= 4... | |||
Copyright © 1999-2021 by the D Language Foundation