Replies: 1 comment
-
I can't remember. Off hand I can't think of a reason not to flush it here. It does get flushed when the sink is destroyed. The only distinguishing feature of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was comparing
stream_sink
withbinary_stream_sink
to see what the differences were. I noticed thatstream_sink::flush
performsstream_ptr_->flush()
whereasbinary_stream_sink::flush
does not.stream_sink::flush
:jsoncons/include/jsoncons/sink.hpp
Lines 65 to 70 in 40757fa
binary_stream_sink::flush
:jsoncons/include/jsoncons/sink.hpp
Lines 156 to 160 in 40757fa
Was this intentional, or was in an omission?
Beta Was this translation helpful? Give feedback.
All reactions