Why is ^^= not part of type definition of integers?

12345swordy alexanderheistermann at gmail.com
Tue May 4 15:20:53 UTC 2021


Currently it relies on a function call of phobos math function 
instead of code generation for backend optimization. If that were 
the case, why does it not rewrite it as `this g() = 
std.math.pow(g(),2)` for functions?


This is a road block for me when implementing binary operators 
for properties.


-Alex


More information about the Digitalmars-d mailing list