July 20, 2023 General » Re: Proposal: First class types (at compiletime) | |||
|---|---|---|---|
| |||
...you can't just use a simple template:
template Min(T, U) {
static if (T... | |||
July 20, 2023 General » Proposal: First class types (at compiletime) | |||
|---|---|---|---|
| |||
...T;
return type_t(T.sizeof, tis);
}
template r(type_t xt) {
mixin("alias r... | |||
July 18, 2023 General » Getting code in strings: __EXPRESSION_OF__ | |||
|---|---|---|---|
| |||
...time and can be bound to a template argument: ```d void someTemplate(Ts..., Es = __EXPRESSIONS... | |||
July 17, 2023 Issues » [Issue 11455] Overriding template methods should raise a compile error | |||
|---|---|---|---|
| |||
...pull request #15350 "Fix Issue 11455 - Overriding template methods should raise a compile …" was... | |||
July 15, 2023 Announce » Potcake Web Framework v0.2.0 | |||
|---|---|---|---|
| |||
...new type if the template arguments differ. This prevents storing template instantiations in a collection... | |||
July 15, 2023 Issues » [Issue 23966] [REG2.102] Cannot use traits(getAttributes) with overloaded template | |||
|---|---|---|---|
| |||
...102] Cannot use traits(getAttributes) with overloaded template (#15353) https://github.com/dlang/dmd/pull... | |||
July 15, 2023 Issues » [Issue 23279] Segmentation fault on mixin template + using unknown type | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23279 --- Comment #9 from Dlang Bot <dlang... | |||
July 14, 2023 Learn » Re: Giant template - changing types everywhere | |||
|---|---|---|---|
| |||
...public keyword fails to work inside a template, but I suppose that that’s just a... | |||
July 14, 2023 Learn » Re: Giant template - changing types everywhere | |||
|---|---|---|---|
| |||
I see ... thanks for the explanation!!! Kind regards, Christian | |||
July 14, 2023 Learn » Re: Giant template - changing types everywhere | |||
|---|---|---|---|
| |||
...functions are named the same as the template. With eponymous templates, you no longer get... | |||
Copyright © 1999-2021 by the D Language Foundation