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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 24 04:10:34 PST 2014


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

          Issue ID: 13770
           Summary: can't mix template class and normal class
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: galaxylang at gmail.com

struct Opt
{
   Opt!T opCall(T)(T v)
   {
     .....
   }

}
struct Opt(T)
{
}


Error: class m.Opt conflicts with class m.Opt(T)

--


More information about the Digitalmars-d-bugs mailing list