December 31, 2014 [Issue 13770] can't mix template class and normal class | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13770 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #1 from yebblies <yebblies@gmail.com> --- Why shouldn't it conflict? -- | ||||
May 25, 2020 [Issue 13770] can't mix template class and normal class | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13770 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Basile-z <b2.temp@gmx.com> --- templates can only have overloads that are also templates. Also the pattern that was tried here (so IFTI i believe) is usually more done using opt(T)(T t) { return Opt!T(t) } -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply