Specialization of ring-buffer template for corner cases where size = 0 due to disabled/commented code or debug modes