Operator Overloading with class template

Eyyub eyyub.pangearaion at gmail.com
Sun Apr 8 17:10:53 PDT 2012


On Monday, 9 April 2012 at 00:04:50 UTC, Andrej Mitrovic wrote:
> On 4/9/12, Eyyub <eyyub.pangearaion at gmail.com> wrote:
>> Np :D, you don't know how can I do for the example 2 ?
>
> Well for one thing, there are no global operators in D. Others 
> might
> help out with writing a proper opBinary that's defined in Value
> itself.

Like this : http://paste.pocoo.org/show/VupvqFTLqZxvZajw71MA/ ? I 
have the same errors :s

Thanks


More information about the Digitalmars-d-learn mailing list