Pow Expressions - not worth the juice?

monkyyy crazymonkyyy at gmail.com
Mon Feb 2 18:14:37 UTC 2026


On Monday, 2 February 2026 at 17:43:45 UTC, Walter Bright wrote:
> https://dlang.org/spec/expression.html#pow_expressions
>
> They're a bit of an oddball feature in D, in that it's the only 
> feature that relies on Phobos for its implementation.
>
> Time for it to go?

clearly the solution is to let users define opOverloads anywhere 
and then properly define it as `auto opBinary(string 
op:"^^",T,S)(T t,S s)`


More information about the Digitalmars-d mailing list