3 ms·
The code already has UB if it does not respect the "const in spirit"-ness of what those functions return. The warnings would be introduced to prevent new code f
by MauranKilom 6y ago
The code already has UB if it does not respect the "const in spirit"-ness of what those functions return. The warnings would be introduced to prevent new code from triggering that foot gun.