2 ms·
That is an actually terrible pattern, the standard should mandate nodiscard on operator[]. Or maybe finally cast that cursed operator implementation into hell w
by juliangmp 10mo ago
That is an actually terrible pattern, the standard should mandate nodiscard on operator[]. Or maybe finally cast that cursed operator implementation into hell where it belongs.
But alas, existing code is considered sacred in the C++ cult so we must never ever inconvenience anyone maintaining legacy code, no matter how broken it is.