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

Use channel as an input_iterator #35

Open
schaumb opened this issue Oct 19, 2023 · 1 comment
Open

Use channel as an input_iterator #35

schaumb opened this issue Oct 19, 2023 · 1 comment

Comments

@schaumb
Copy link

schaumb commented Oct 19, 2023

Currently, the channel iterators can be used only as output iterators.

Integrates well with STL algorithms.

If I want to pipe two channels, there is no support for the STL algorithms:

msd::channel<int> one;
msd::channel<int> two;
std::copy(one.begin(), one.end(), two.end());
@andreiavrammsd
Copy link
Owner

I'll leave this open for a while to see if I get to it.

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