[Issue 13770] can't mix template class and normal class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 25 08:15:05 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=13770

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Basile-z <b2.temp at 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) }

--


More information about the Digitalmars-d-bugs mailing list