Resolving conflicting functions
    Bill Baxter 
    dnewsgroup at billbaxter.com
       
    Mon Dec  3 18:16:36 PST 2007
    
    
  
Derek Parnell wrote:
> On Tue, 04 Dec 2007 10:04:15 +0900, Bill Baxter wrote:
> 
>  
>> // ------------------------
>> real opDiv(T=void,S=void)(Currency pFactor)
>> // ------------------------
>> {
>>    return mData / pFactor.mData;
>> }
> 
>> I say might because I'm not really sure when that trick works and when 
>> it doesn't.
> 
> Sorry, but it didn't work.
Sigh.  These little games we have to play to get D templates to play 
nicely with others are quite annoying.
--bb
    
    
More information about the Digitalmars-d-learn
mailing list