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
@Naios
It would be nice if function_base supported deduction guides similar to std::function so that lambdas can have sensible type erased deductions.
function_base
https://en.cppreference.com/w/cpp/utility/functional/function/deduction_guides
2d3a878
This should compile
fu2::unique_function([](int &i) { return i + 5; })
The text was updated successfully, but these errors were encountered:
The idea is awesome, I would highly appreciate a pullrequest for this feature.
Sorry, something went wrong.
No branches or pull requests
@Naios
It would be nice if
function_base
supported deduction guides similar to std::function so that lambdas can have sensible type erased deductions.https://en.cppreference.com/w/cpp/utility/functional/function/deduction_guides
Commit Hash
2d3a878
Expected Behavior
This should compile
The text was updated successfully, but these errors were encountered: