Search

March 11, 2022
Learn »
Create an alias for T!() is the best you can do.

Ex.

```
alias t = T...
March 10, 2022
General »
...D language structures (alias, static if, enums, templates, etc.). In fact, marry alias, static if...
March 10, 2022
General »
Yes, I agree.

```d
string s = "WTF";

alias p = typeof(__traits(parameters));
foreach(x; s...
March 10, 2022
General »
...Ts...)(R range, int param, Ts args)
{
    alias relevantParams = __traits(parameters)[1..$]; // Why?
    foreach (auto...
March 10, 2022
General »
...not being able to unify types with alias. C++ is currently ahead in meta-programming...
March 09, 2022
Issues »
...22866
           Summary: ICE when accessing __traits(parameter) alias of an
                    outer scope inside foreach
           Product...
March 07, 2022
General »
...this is what was discussed as "new alias" in the past where the template allows...
March 01, 2022
Learn »
...accesses its calling context via a template alias parameter.

See this bug report for more...
March 01, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=21975

--- Comment #5 from Dlang Bot <dlang...
March 01, 2022
Learn »
...deprecation message?

```d
struct MockFile {
  [...]

  void writef(alias fmt, A...)(A args) { // Deprecation: function 'writef...
239 240 241 242 243 244 245 246 247 248 249
Next ›   Last »