Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
November 03, 2019 [Issue 15978] Can't pass vector.init as template parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15978 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com Hardware|x86_64 |All OS|Linux |All -- |
March 21, 2020 [Issue 15978] Can't pass vector.init as template parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15978 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
December 17, 2022 [Issue 15978] Can't pass vector.init as template parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15978 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
February 19, 2023 [Issue 15978] Can't pass array or vector .init as template parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15978 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org Summary|Can't pass vector.init as |Can't pass array or vector |template parameter |.init as template parameter --- Comment #1 from Nick Treleaven <nick@geany.org> --- Not just __vector: alias a = MyTemplate!(int.init); // OK alias a = MyTemplate!(int[].init); // NG alias a = MyTemplate!(int[4].init); // NG -- |
September 02 [Issue 15978] Can't pass vector type .init property as template parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15978 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't pass array or vector |Can't pass vector type |.init as template parameter |.init property as template | |parameter --- Comment #2 from Nick Treleaven <nick@geany.org> --- > alias a = MyTemplate!(int[].init); // NG That one works as of 2.102.2. > alias a = MyTemplate!(int[4].init); // NG That one is still a parse error, but I filed it separately as issue 24740 as it applies to other contexts too. -- |
Copyright © 1999-2021 by the D Language Foundation