acts icon indicating copy to clipboard operation
acts copied to clipboard

Some `toStream` implementations change the state of `std::ostream`

Open andiwand opened this issue 1 year ago • 1 comments

As discussed in https://github.com/acts-project/acts/pull/2814#discussion_r1551784177 there are some toStream and << implementations which change the state of the stream without restoring it to its original state.

One solution to this would be to work with strings which then get written to the stream. Another to restore the stream to its original state. Yet another one not to change the state and customize the preferred output format before calling toStream.

CC @krasznaa as he discovered this

andiwand avatar Apr 04 '24 14:04 andiwand

This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.

github-actions[bot] avatar May 04 '24 15:05 github-actions[bot]