Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 13, 2019 [Issue 12074] Add BlockStatement to TemplateSingleArgument | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12074 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com --- Comment #3 from Basile-z <b2.temp@gmx.com> --- I like the idea but i see an ambiguity: --- int call(alias fun)() { return fun(); } int call(int value)() { return value+1; } void main() { call!{ return 0; }(); } --- which overload is called ? The one that will doe CTFE and then call!0 or the other ? -- |
February 13, 2019 [Issue 12074] Add BlockStatement to TemplateSingleArgument | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12074 --- Comment #4 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- That is a semantic issue and completely orthogonal to this syntactic one. `call!({ return 0; })();` has the same issue as your example. -- |
March 21, 2020 [Issue 12074] Add BlockStatement to TemplateSingleArgument | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12074 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
December 17, 2022 [Issue 12074] Add BlockStatement to TemplateSingleArgument | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12074 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation