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
This code won't compile:
#include <linq.h> #include<vector> using namespace linq; std::vector<int> f() { std::vector<int> result; return result; } int main() { auto x = f() | linq::first; }
however this one will
#include <linq.h> #include<vector> std::vector<int> f() { std::vector<int> result; return result; } int main() { auto output = f(); auto x = output | linq::first; }
The issue is that LINQ should work with function output as well as with variable collection (and it does not)
The text was updated successfully, but these errors were encountered:
what's more, following query would work
output | linq::intersect(f());
but
f() | linq::intersect(f());
would not
Sorry, something went wrong.
No branches or pull requests
This code won't compile:
however this one will
The issue is that LINQ should work with function output as well as with variable collection (and it does not)
The text was updated successfully, but these errors were encountered: