-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osyncstream support #132
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In C++ 20 add syncstream - wrappers that allows to synchronize output into a single stream. Due to the fact that it wraps the stream,
rbuf
does not return a real pointer and rang believes that the stream does not support color at all.For example:
It would be cool to specify rand to work with it. The instance of the class (msg in the example) has the get_wrapped method, which return the correct buffer, which can be checked correctly.
What do you think about it? I'm not a very experienced C++ programmer, but I could try to send a PR if you think it's a good idea.
The text was updated successfully, but these errors were encountered: