New feature implementation: Streaming results format to stdout #4665
I haven't actually implemented the feature yet, for now I've just added the flags necessary for it. I would like to ask for more clarifications about how result streaming is currently handled before adding in new feature code.
I noticed the use of lots of #if compiler commands. Is this applicable to the feature? If the flag is set to true, should I just have a function which prints results in the same format as from stream_result_to to the console using cout and stream operators?
After reviewing the rest of the code some more, I realize stream_result_to doesn't actually create a function, rather it adds a new listener to a preexisting list. I'm wondering if printing to the terminal should follow the same behavior, or if it should be more "direct" somehow.