Resolving conflicting functions
    Derek Parnell 
    derek at nomail.afraid.org
       
    Mon Dec  3 17:46:14 PST 2007
    
    
  
On Tue, 4 Dec 2007 00:57:59 +0000 (UTC), BCS wrote:
> you can't have a template and non-template by the same name
Yeah, I guess so. But why?
 
> here is the nasty solution, ther might be a better one, but this should work.
> 
> // ------------------------
> Ret!(T) opDiv(T)(T pFactor)
> // ------------------------
> {
>   Ret!(T) temp;
Ummm ... what is 'Ret!' and where can it be found?
-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
4/12/2007 12:45:12 PM
    
    
More information about the Digitalmars-d-learn
mailing list