Boost logo

Boost :

Subject: Re: [boost] Using Boost without confusing Intellisense
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2011-02-09 17:29:21

Jarl Lindrud wrote:
> Matthew Chambers <matt.chambers42 <at>> writes:
>> Hi,
>> I use many Boost libraries, develop with MSVC (currently 2008), and build both
> my project and its
>> Boost dependencies with Boost.Build. The one thing that's always frustrated me
> using boost is its
>> tendency to confuse MSVC's Intellisense. I don't know if this holds true for
> other IDEs with an
>> Intellisense-like capability, but heavy use of boost::shared_ptr and
> BOOST_FOREACH in particular
>> seem to confuse Intellisense in a large project. MSVC never knows what to show
> when dereferencing a
>> shared_ptr and it never defines the instance variable in BOOST_FOREACH.
> Intellisense is useless in many situations. The best thing to do IMO is to
> disable it completely and install Visual Assist, which has a far more competent
> code parser than Intellisense.

I generally agree although for me, Visual Assist has problems inside
boost.test methods, and just doesn't seem to ever want to offer
boost::bind, it always ends up with bind1st or some other variant.

> VS2010 has a completely reworked Intellisense implementation, but unfortunately
> it is still much slower than Visual Assist (thus adding to the general slowness
> and bloat of VS2010...).

Good to know.


Boost list run by bdawes at, gregod at, cpdaniel at, john at