www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13770] New: can't mix template class and normal class

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 puremagic.com
          Reporter: galaxylang gmail.com

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

}
struct Opt(T)
{
}


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

--
Nov 24 2014