October 02, 2022 Issues » [Issue 14361] [SDC] Allow aliasing integer and other literals | |||
|---|---|---|---|
| |||
...9 from Nick Treleaven <nick@geany.org> --- Template alias parameters can accept literal values, so... | |||
October 01, 2022 Learn » Re: Linker Error with Template Function | |||
|---|---|---|---|
| |||
On 10/1/22 11:15, Kyle Ingraham wrote: > storing structs as > `void*` in a... | |||
October 01, 2022 Learn » Re: Linker Error with Template Function | |||
|---|---|---|---|
| |||
Thanks for the suggestion Nick. I solved this by storing structs as `void*` in a... | |||
October 01, 2022 Learn » Re: How is it possible that countUntil() generates a jump-table when the hayStack is a compile time array? | |||
|---|---|---|---|
| |||
...parse the structural elements of Dlang using template string[] parameters to feed tokens for the... | |||
October 01, 2022 Learn » How is it possible that countUntil() generates a jump-table when the hayStack is a compile time array? | |||
|---|---|---|---|
| |||
...is possible? I looked inside the countUntil() template and I see no static ifs for... | |||
October 01, 2022 Learn » Re: How to do alligned allocation? | |||
|---|---|---|---|
| |||
...alignment for all `Chunk` types:
```D
private template Aligned(size_t alignment)
if(1 <= alignment... | |||
October 01, 2022 Learn » Re: How to do alligned allocation? | |||
|---|---|---|---|
| |||
...align(16) struct Chunk16 {
void[16] data;
}
template Aligned(size_t alignment)
if(1 <= alignment... | |||
September 30, 2022 Learn » Re: How can I get the "owner" of a method? | |||
|---|---|---|---|
| |||
Maybe this will help you:
```d
template Bar(T)
{
void fun() {}
}
class Foo(T)
{
mixin... | |||
September 30, 2022 Learn » How can I get the "owner" of a method? | |||
|---|---|---|---|
| |||
...I want to pass that to a template to generate another function (in this case... | |||
September 29, 2022 Genel » Re: Appender (İliştirici) Sarması | |||
|---|---|---|---|
| |||
...0448900fc5a05f2b076eb2500e2522b43c2227cc/std/array.d#L3604
```d
private template canPutRange(Range)
{
enum bool canPutRange =
isInputRange!Range... | |||
Copyright © 1999-2021 by the D Language Foundation