We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
template <typename... U> void operator()(U && ...u) { if (slot_state::connected() && !slot_state::blocked()) { call_slot(std::forward<U>(u)...); } }
protected: void call_slot(Args ...args) override { func(args...); }
operator() uses universal reference for variadic template parameters.
but call_slot protected function does not.
so we should do not use universal reference for signal wrapper.
how do you think about this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
template <typename... U> void operator()(U && ...u) { if (slot_state::connected() && !slot_state::blocked()) { call_slot(std::forward<U>(u)...); } }
protected: void call_slot(Args ...args) override { func(args...); }
operator() uses universal reference for variadic template parameters.
but call_slot protected function does not.
so we should do not use universal reference for signal wrapper.
how do you think about this?
The text was updated successfully, but these errors were encountered: