Search

January 08, 2023
Issues »
...gmx.com> ---
reduced:

```
template to(T)
{
    void to(T)(){}
}

alias comb = to!int.bad!0; ```

--
January 08, 2023
Learn »
...algorithm : map, sum;
import std.conv : toChars;

alias comb = (uint x) => x.toChars.map!"a...
January 08, 2023
Issues »
...producing normal error messages

```
import std.conv;
alias comb = to!string.bad!"";
```

accoring to run...
January 08, 2023
Learn »
...providing in your alias. Convert your alias to a lambda expression:

```D
alias comb = x...
January 08, 2023
Learn »
```d
import std;
alias comb = map!q{a - '0'};
void main()
{
    auto s = 2234...
January 08, 2023
Learn »
...works fine.


but if i do an alias

    alias comb = to!string.map!q{a...
January 07, 2023
General »
...in funcs*/
    new
    new: identifier


//alias aliasValue is either what alias can accept, or reserved...
January 06, 2023
Learn »
...T x) {
    value = x;
  }

  T value;
  alias opCall this;

  @property:
  T opCall(T...
January 06, 2023
Learn »
...   value = x.to!T;
  }
  T value;
  alias value this; // [a] getter
  //@property
  T...
January 05, 2023
General »
...struct IntStaticArray(uint T)
{
    int[T] data;
    alias data this;
}
IntStaticArray!(5) arr;
```

The most...
148 149 150 151 152 153 154 155 156 157 158
Next ›   Last »