Skip to content
New issue

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

[C++17] Indexer noting invalid template args and failure to resolve symbols #606

Open
tjisana440 opened this issue Oct 31, 2023 · 1 comment

Comments

@tjisana440
Copy link

The program below compiles with no errors yet 3 errors show: invalid template arguments and Symbol 'end' / 'begin' could not be resolved.

#include
#include <unordered_map>

int main() {
std::unordered_map<int, int> testMap = {{1, 10}, {2, 20}, {3, 30}};

for (const auto& [key, value] : testMap) {
std::cout << "Key: [" << key << "] Value: [" << value << "]";
}

return 0;
}

Version Information (please complete the following information):

  • OS and OS Version: openSuse Linux
  • Eclipse Version: Version: 2023-09 (4.29.0)
  • Eclipse Build id: 20230907-1323
  • CDT Version: 11.3.0.202309051907
@sergeniously
Copy link

Duplicate of #438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants