[Issue 2972] [tdpl] Can't overload non-templated function against template

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2972

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|2.030   |D2

--


[Issue 2972] [tdpl] Can't overload non-templated function against template

2012-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2972


Andrej Mitrovic  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #4 from Andrej Mitrovic  2012-01-21 
18:22:11 PST ---
*** This issue has been marked as a duplicate of issue 1528 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2972] [tdpl] Can't overload non-templated function against template

2012-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2972


Andrej Mitrovic  changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #3 from Andrej Mitrovic  2012-01-21 
18:21:01 PST ---
*** Issue 4573 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2972] [tdpl] Can't overload non-templated function against template

2011-12-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2972


Andrei Alexandrescu  changed:

   What|Removed |Added

 CC||and...@metalanguage.com
Summary|Can't overload  |[tdpl] Can't overload
   |non-templated function  |non-templated function
   |against template|against template


--- Comment #2 from Andrei Alexandrescu  2011-12-07 
14:31:24 PST ---
Breaks TDPL example, stylized below:

module main;

import std.stdio;

void overloadme(uint number)
{
writeln("This is overloadme with uint.");
}

void overloadme(long number)
{
writeln("This is overloadme with long.");
}

void overloadme(T)(T number)
{
writeln("Generic overloadme called.");
}

int main(string[] argv)
{
overloadme(25);
overloadme("Bla");

writeln("\nFinished");
readln();
return 0;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---