More on semantics of opPow: return type

Simen kjaeraas simen.kjaras at gmail.com
Tue Dec 8 02:30:26 PST 2009


Lars T. Kyllingstad <public at kyllingen.nospamnet> wrote:

> The fundamental reason why I want opPow so badly is in fact not even how  
> often I use it. If that was the case, I'd want a special "writefln"  
> operator as well. The main reason is that exponentiation is such a basic  
> mathematical operation, right up there with addition and multiplication,  
> that it deserves an operator of its own.

And now we'll all be wanting postfix ! for factorial as well, right? :p

-- 
Simen



More information about the Digitalmars-d mailing list