July 06, 2023 LDC » Re: Testers required for tool for LDC - asm_parse | |||
|---|---|---|---|
| |||
...replacing the symbol names in the assembly template string with the operand's underlying numeric... | |||
July 05, 2023 General » Re: Planning Update June 23 & 30 -- Bugzilla to GitHub; Deprecations | |||
|---|---|---|---|
| |||
...it forces you to make a mixin template rather than a struct and a struct... | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
Hopefully we'll get tagged union in the future - no templates - proper support - proper error... | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
You misunderstand, the function return type must match. If you want to accept a function... | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
I was recommended: https://forum.dlang.org/thread/iblsgqqafagdgcsafhxv@forum.dlang.org ``` struct Result(T... | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
No, `Result(T)` is its own struct in your example. And also, `SumType!(ParsResult!T... | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
That's the problem Result(T) = SumType!(ParsResult!T, Err!T) | |||
July 04, 2023 Learn » Re: applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
...t working you can explicitly instantiate the template to see why it isn't working... | |||
July 04, 2023 Issues » [Issue 23966] [REG2.102] Cannot use traits(getAttributes) with overloaded template | |||
|---|---|---|---|
| |||
...102] Cannot use traits(getAttributes) with overloaded template" was merged into stable: - bf2c04df822eee078ec0debb151c09d794f709c9 by RazvanN7... | |||
July 04, 2023 Learn » applay for template function with sumtypes result? | |||
|---|---|---|---|
| |||
Hi. I can't handle template. It all looks sad, build ok, test error. ``` struct... | |||
Copyright © 1999-2021 by the D Language Foundation