Pow Expressions - not worth the juice?

Lance Bachmeier no at spam.net
Tue Feb 3 19:38:20 UTC 2026


On Tuesday, 3 February 2026 at 18:05:11 UTC, Walter Bright wrote:
> On 2/3/2026 9:25 AM, jmh530 wrote:
>> Walter would never go for unlimited overloading.
>
> Once that gate to hell is opened, we'll never be able to close 
> it.
>
> Just like with macros.
>
> The current operator overloading feature is carefully designed 
> to prevent general operator overloading. For example, < <= > >= 
> cannot be individually overloaded.

If you think that's bad, wait until you see the ugly mess that 
can be made with pointers, metaprogramming, and templates.


More information about the Digitalmars-d mailing list