Comment Comment by dzorz If you compile recent clang, it supports range based for loops.Using https://github.com/Rip-Rip/clang_complete you can use smart context-aware completion with vim/emacs.For example if you had this code:vector<string> vec; for (auto &x : vec) { xand then if you typed period (.), it would show members from std::string. I'd say it works better than Intellisense (it's very precise and you use the same parser for code completion and final compilation). parent dzorz 15 years ago
Using https://github.com/Rip-Rip/clang_complete you can use smart context-aware completion with vim/emacs.
For example if you had this code:
vector<string> vec; for (auto &x : vec) { x
and then if you typed period (.), it would show members from std::string. I'd say it works better than Intellisense (it's very precise and you use the same parser for code completion and final compilation).