Inner class crushes Visual C++ IntelliSense

When I use some classes in boost, I have experienced my Visual C++ 2005 IntelliSense stops working. For example, the following code makes IntelliSense crushed. ----------------- cut here --------------------- #include <iostream> #include <boost/filesystem/path.hpp> int main(int argv, char** argv) { ..... std:: <==========IntelliSense works boost::filesystem::path p; p. <==========IntelliSense doesn't work std:: <==========IntelliSense doesn't work ---------------- cut here ----------------------- I have examined codes which cause IntelliSense crush and have noticed that `an inner class (a class in other class)' confuses IntelliSense. In the case of boost::filesystem::path, class boost::filesystem::basic_path::iterator is the cause. When I moved the definition of `class iterator' out of `class basic_path', IntelliSense works. While typing the code above, InteliSense works. ----------------- cut here ------------------ boost::filesystem::path p("xyz/a.txt"); boost::filesystem::path::iterator i; i = p.begin(); std::cout << p.string() << std::endl; std::cout << *i << std::endl; ++i; std::cout << *i << std::endl; ----------------- cut here ----------------- I wonder that which is appropriate to post this message for developer's list or user's list. I found some messages in user's list but I couldn't find workaround. So I decided to post it to this list. I also know that this post is annoying for non Visual C++ users. So I apologise in advance. --------- Takashi SASAKI tsasaki99@yahoo.co.jp sasaki@cite.ehime-u.ac.jp http://www.windy.cx/ -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/

SASAKI Takashi wrote:
When I use some classes in boost, I have experienced my Visual C++ 2005 IntelliSense stops working.
You could try Visual Assist X from Whole Tomato software, www.wholetomato.com. It is a Visual Studio plugin, that provides an improved Intellisense, and many other useful things. The people at Whole Tomato software have tested the product with Boost, so it should solve your problem. --Johan Råde Qlucore AB
participants (2)
-
Johan Råde
-
SASAKI Takashi