• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

C++ - basic_string - Visual Studio - Intellisense issues


Here is my 'custom' implementation of basic_string:

typedef std::basic_string<char, std::char_traits<char>, boost::pool_allocator<char> > RString;

Whenver I perform something like...

RString Str = AnyString;

The part of intellisense where you hover your mouse over a variable to see its type quits working.

Note:
- I #include <string>
- The intellisense that brings up a list of members quits working if I use the + operator of string

Any idea how to solve these problems?

Thanks
0
oxygen_728
Asked:
oxygen_728
1 Solution
 
lakshman_ceCommented:
I couldn't reproduce the issue that you addressed.
>>typedef std::basic_string<char, std::char_traits<char>, boost::pool_allocator<char> > RString;
>>Whenver I perform something like...
>>RString Str = AnyString;
You can refer to this question and find if it helps.
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VisualC_PLUS_PLUS_DOT_NET/Q_21134700.html
0
 
oxygen_728Author Commented:
Ya, it comes and goes... who really knows how MS intellisense works?

From what I've read they've pretty much trashed any hope of it working properly in VS2003, and that it is much improved in 2005.

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now