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

Add signal type that only accepts one slot #12

Open
fr00b0 opened this issue Dec 6, 2016 · 0 comments
Open

Add signal type that only accepts one slot #12

fr00b0 opened this issue Dec 6, 2016 · 0 comments
Milestone

Comments

@fr00b0
Copy link
Owner

fr00b0 commented Dec 6, 2016

If a signal only has a single slot connected, we could allow that arguments are moved into the operator() and then forwarded into the slot. This might open up some interesting use-cases, where the signal consumes the argument by taking ownership. Since we can't have several slots taking ownership of the same thing, we would need a new type of signal that only allows a single slot to be connected.

This issue was spawned from #4

@fr00b0 fr00b0 added this to the 1.0 milestone Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant