5 ms·
GCC has `[[gnu::musttail]] return`. But yes, framing TCO as an optimization is unfortunate.
by LukeShu 1mo ago
GCC has `[[gnu::musttail]] return`.
But yes, framing TCO as an optimization is unfortunate.
- vinkelhake 1mo agoAnd there's also [[clang::musttail]] and [[msvc::musttail]]. As well as an effort to get it standardized: https://isocpp.org/files/papers/D3939R0.html https://isocpp.org/files/papers/D3939R0.html (in C++).