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
Hello, generated headers for cpp produce code: void skip() { noEntries().forEach([](NoEntries &e){ e.skip(); }); } which produces compilation error: void data::NoEntries::forEach<data::skip::<lambda_1>>(Func &)': cannot convert argument 1 from 'data::skip::<lambda_1>' to 'Func &
void skip() { noEntries().forEach([](NoEntries &e){ e.skip(); }); }
void data::NoEntries::forEach<data::skip::<lambda_1>>(Func &)': cannot convert argument 1 from 'data::skip::<lambda_1>' to 'Func &
I'm using VisualStudo2022 with msbuild, ISO C++ 20 Standard
The text was updated successfully, but these errors were encountered:
"stackoverflow solution"
#include <functional> std::function<void(NoEntries&)> lambda = [](NoEntries& e) { e.skip(); }; void skip() { noEntries().forEach(lambda); }
Sorry, something went wrong.
[C++] Use universal ref in forEach and set min to C++11. Issue #903.
57dd44d
[C++] Revert use of auto in lambdas. Issue #903.
d5966bf
[C++] Generate skip function without use of lambdas or templates. Issue
cc441b0
#903.
No branches or pull requests
Hello, generated headers for cpp produce code:
void skip() { noEntries().forEach([](NoEntries &e){ e.skip(); }); }
which produces compilation error:
void data::NoEntries::forEach<data::skip::<lambda_1>>(Func &)': cannot convert argument 1 from 'data::skip::<lambda_1>' to 'Func &
I'm using VisualStudo2022 with msbuild, ISO C++ 20 Standard
The text was updated successfully, but these errors were encountered: