April 07, 2022 General » Re: 01777777777777777777777 [std.conv.octal] | |||
|---|---|---|---|
| |||
...values fitting in a ulong ```template octal (alias decimalInteger)``` does **not** work. I strongly recommend... | |||
April 07, 2022 General » Re: 01777777777777777777777 [std.conv.octal] | |||
|---|---|---|---|
| |||
...question related to the implementation ``` template octal(alias decimalInteger) if (is(typeof(decimalInteger)) && isIntegral!(typeof... | |||
April 06, 2022 General » 01777777777777777777777 [std.conv.octal] | |||
|---|---|---|---|
| |||
...Quote from `std/conv.d`: ``` template octal(alias decimalInteger) if (is(typeof(decimalInteger)) && isIntegral!(typeof... | |||
April 06, 2022 General » Why I love D: interfacing with XCB | |||
|---|---|---|---|
| |||
...opDispatch(string func)
{
enum reqFunc = "xcb_" ~ func;
alias Args = Parameters!(mixin(reqFunc));
static assert(Args... | |||
April 06, 2022 Learn » Looking for a workaround | |||
|---|---|---|---|
| |||
...B : A
{
@MyUDA int b;
}
void main()
{
alias G = getSymbolsByUDA!(B, MyUDA);
}
Output:
c:\d... | |||
April 06, 2022 Issues » [Issue 22992] New: std.traits: template instance is nested in both A and B with getSymbolsByUDA | |||
|---|---|---|---|
| |||
...B : A
{
@MyUDA int b;
}
void main()
{
alias G = getSymbolsByUDA!(B, MyUDA);
}
--------------------
That yield the... | |||
April 06, 2022 Learn » Re: Mixin Templates and Operators | |||
|---|---|---|---|
| |||
...the ones from mixin template. You'd have to alias them together on the type. | |||
April 05, 2022 Issues » [Issue 22989] New: Missing error wrt. assigning cast function pointer to incompatible funcptr | |||
|---|---|---|---|
| |||
...i) { return i != 0; }
alias F1 = extern(C) bool function(int);
alias F2 = extern(C... | |||
April 05, 2022 Issues » [Issue 22969] Can't mixin name of manifest constant on right-hand side of alias declaration | |||
|---|---|---|---|
| |||
...manifest constant on right-hand side of alias declaration" was merged into stable: - 63e226e11764e04220b1a101e09a05d499e98a20 by... | |||
April 04, 2022 Learn » Re: Const Variables | |||
|---|---|---|---|
| |||
...impl = new Impl(generate());
return impl.value;
}
alias get this;
}
void main() {
import std;
auto... | |||
Copyright © 1999-2021 by the D Language Foundation