12 ms·
> // Proposed: Transparent Aliases > _Alias g = f; I think defining a constant function pointer should work. As long the compiler doesn't store this pointer in
by Panzerschrek 1mo ago
> // Proposed: Transparent Aliases
> _Alias g = f;
I think defining a constant function pointer should work. As long the compiler doesn't store this pointer in the result executable and optimizes-out all calls via it into calls to the source function.