Search

August 14, 2023
Issues »
...INT = int;
version (UNSIGNED) alias INT = uint;
template Foo(N...) {
  alias  Foo = FooImpl!(N);
}
struct...
August 14, 2023
General »
...the `template` keyword. They attach to the template itself, not the function:

```d
template square...
August 14, 2023
General »

D has [template constraints](https://dlang.org/spec/template.html#template_constraints) that will do...
August 12, 2023
Issues »
...dlang.org pull request #3602 "Updates to Template Comparison page" was merged into master:

- 00028f506c024b3b08c96666bd2e6fdcfa000fb0...
August 11, 2023
Issues »
...Int128.opEquals

  Needed to make opCmp a template to avoid causing
  `Int128(-1L) < ulong.max...
August 11, 2023
Issues »
...supports std.format

  toString has template parameter FormatSpec instead of template parameter
  Char and argument...
August 11, 2023
Issues »
...I dont fully agree, here is why:

```
template indexOf(T)
if (isRandomAccessRange!T)
{
    alias indexOf...
August 11, 2023
Announce »
...its template. Walter said that if the warning is the result of a template from...
August 11, 2023
Announce »
...build(string s) {
         return factories[s]();
}

mixin template Register() {
         shared static this() {
                 factories[typeof(this...
August 10, 2023
Issues »
...void` on non-template types. However, it fails to compile on non-template functions:

```d...
122 123 124 125 126 127 128 129 130 131 132
Next ›   Last »