Files
cxx-ring-buffer/include
Ferdi265 1a8b098ed0 ring-buffer-iterator: fix postfix increment/decrement
this silently did the wrong thing on g++ (precedence of postfix ++/--)
and didn't compile on clang++. The correct solution is to
prefix-increment, which has no precedence issues and calls the correct
function. Postfix-increment with correct precedence would have resulted
in a stack overflow anyway.
2025-05-12 15:20:33 +02:00
..