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
#include #include using namespace std;
int main() { pair<int, int> p { 1, 2 }; auto[a, b] = p; // hover over a shows “int &a” instead of “int a” a = 10; cout << p.first << a << endl; return 0; }
The bug repros with VS 2017 too. I'll link to the VS-side bug if/when it gets created.
The previous issue was #2101 .
The text was updated successfully, but these errors were encountered:
Appears to be VS bug https://developercommunity.visualstudio.com/content/problem/229224/intellisense-displays-wrong-type-for-structed-bind.html -- upvote that if anyone wants a fix.
Sorry, something went wrong.
This is not a bug; the standard specifies this behavior in paragraph [dcl.struct.bind]/3.
No branches or pull requests
#include
#include
using namespace std;
int main()
{
pair<int, int> p { 1, 2 };
auto[a, b] = p; // hover over a shows “int &a” instead of “int a”
a = 10;
cout << p.first << a << endl;
return 0;
}
The bug repros with VS 2017 too. I'll link to the VS-side bug if/when it gets created.
The previous issue was #2101 .
The text was updated successfully, but these errors were encountered: