when I hear about LTO, it seems to be unreliable at best, and I'm not sure I understand why inverting this paradigm would not be the sane way to go. I am willing to bet that the number of functions where `const cast` is used is a small percentile of the overall number of functions with `const` references
Have you used lto before?