Skip to content
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

the kind of output stream should be configurable #16

Closed
peterlauro opened this issue Dec 2, 2020 · 3 comments
Closed

the kind of output stream should be configurable #16

peterlauro opened this issue Dec 2, 2020 · 3 comments

Comments

@peterlauro
Copy link

the user should have a possibility to select the kind of output stream (stdout, stderr, file, etc. ) either per test_resource instance or for all test_resource instances (optional, globally).
the default output stream of test_resource should be stdout.

@cppguru
Copy link
Contributor

cppguru commented Dec 2, 2020

This repository "belongs" to the wg21.link/p1160r1 standard library proposal. Please read the proposal and see the talks in YouTube for more information on why. Long story short: First we propose what we use and have about 20 years of experience with. If the idea in general picked up, which won't happen for a while with COVID, this is not a priority for 23, the and only then we will examine further changes.

The "plan" is not changeable streams but std::function or other callable handlers. So the user can decide what to do on each occasion. However that work will not be done (on this repository or the proposal) until LEWG decides to spend time on it.

@peterlauro
Copy link
Author

thanks for explanation,
The "plan" with user defined policies (function objects/lambdas) would be appreciated.

@cppguru
Copy link
Contributor

cppguru commented Dec 2, 2020

As I explained earlier: this is a repository that accompanies a language proposal. We won't change it for quite a while because the proposal has not yet been seen in LEWG. No API/interface changes will be done to this repository. We fix bugs if we find them, but that is all.

However the code comes with a very generous license that allows anyone to make their own version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants