| Summary: | [C++0x] Range-based for | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Alfred Krohmer <devkid> | ||||
| Component: | cdt-parser | Assignee: | Markus Schorn <mschorn.eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Mike Kucera <mikekucera> | ||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | malaperle | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 327297 | ||||||
| Attachments: |
|
||||||
Build Identifier: 20100917-0705 When using some new C++0x language features, Eclipse underlines (with orange) the code in the editor, because it doesn't know the new syntax. Examples: - iterating over a container: vector<int> v = { 2, 1, 4 }; // not the matter, recognized for (int &i : v) cout << i << endl; - lambda expressions: (assuming the same vector as above) std::for_each (v.begin(), v.end (), [] (int &i) { cout << i << endl; }); It would be nice to see these features recoginzed by Eclipse so that the code won't get unreadable by warning underlinings. Reproducible: Always