IO::dynamic_streambuf: added retain_input_position param to commit_direct().¹
IO::dynamic_streambuf: added retain_input_position param to commit_direct().¹

1: Certainly a case where you would want to reset the position.
Now callee will have to decide whether to retain or reset position.

komiga/duct-cpp