function XXXX conflict with YYYY

Agustin agustin.l.alvarez at hotmail.com
Thu Nov 14 08:27:38 PST 2013


final uint registerEvent(T, J)(IPlugin, void delegate(J))
{
  ....
}

final uint registerEvent(IPlugin, EventHandler, EventInfo, ulong)
{
  ....
}

There seems to be a problem when having two function with same 
name but different parameters. Only happend when one of the 
function use templates. Is that a compiler limitation?


More information about the Digitalmars-d-learn mailing list