When msvc::musttail attribute silently fails
5 points by abareplace
5 points by abareplace
Yeah if you have an attribute like that you really can’t ever ignore. The real problem is that as it’s considered an optimization rather than a correctness attribute compilers tend to not actually perform tail call optimization in debug builds, thus breaking them. Hurrah.
Agreed. IMHO, the problem is that the modern compilers are so complex that it's hard to correctly implement an attribute like this.