February 22, 2023 Learn » Re: How to get only the field name from an alias? | |||
|---|---|---|---|
| |||
Thanks, Adam! Didn't know such a trait existed and that it could work for... | |||
February 21, 2023 Issues » [Issue 19328] isExpression does not allow to check conversion to delegate/function | |||
|---|---|---|---|
| |||
...void f(); alias a = ParameterTupleOf!(typeof(f)); alias b = ParameterTupleOf!(void delegate()); alias c = ParameterTupleOf... | |||
February 21, 2023 Learn » Re: How to get only the field name from an alias? | |||
|---|---|---|---|
| |||
You almost never want to use .stringof, instead try __traits(identifier, F) and see what... | |||
February 21, 2023 Learn » Re: How to get only the field name from an alias? | |||
|---|---|---|---|
| |||
This is super neat, but the order of the fields will have to be frozen... | |||
February 21, 2023 Learn » Re: How to get only the field name from an alias? | |||
|---|---|---|---|
| |||
I'm not sure what the solution is for your specific question, but there is... | |||
February 21, 2023 Learn » How to get only the field name from an alias? | |||
|---|---|---|---|
| |||
...a field and its attributes with an alias. But I'm not sure whether I... | |||
February 20, 2023 Genel » Re: CircularList: Dairesel Kuyruk Yapısı | |||
|---|---|---|---|
| |||
...class ve struct) ile kısıtladığımızda, > derleyici önce alias'ların token'nını çözdüğü için şu test... | |||
February 20, 2023 Issues » [Issue 3720] Taking address of member functions possible without an instance | |||
|---|---|---|---|
| |||
...function mfunc, today I can do ```d alias T = the-aggregate-type; auto dg = &(cast... | |||
February 19, 2023 Genel » CircularList: Dairesel Kuyruk Yapısı | |||
|---|---|---|---|
| |||
...s[%s], %s)",
Type.stringof, length, root);
}
alias Type = typeof(Node.CLL);
void push(Type... | |||
February 19, 2023 Issues » [Issue 15978] Can't pass array or vector .init as template parameter | |||
|---|---|---|---|
| |||
...vector: alias a = MyTemplate!(int.init); // OK alias a = MyTemplate!(int[].init); // NG alias a... | |||
Copyright © 1999-2021 by the D Language Foundation